Project

General

Profile

« Previous | Next » 

Revision 6341

schemas/vegbien.sql: Allow bien_read to SELECT from all tables in the public schema

View differences:

schemas/vegbien.my.sql
6268 6268

  
6269 6269

  
6270 6270
--
6271
-- Name: place; Type: ACL; Schema: public; Owner: -
6272
--
6273

  
6274

  
6275

  
6276

  
6277

  
6278

  
6279

  
6280
--
6281
-- Name: taxonlabel; Type: ACL; Schema: public; Owner: -
6282
--
6283

  
6284

  
6285

  
6286

  
6287

  
6288

  
6289

  
6290
--
6291
-- Name: address; Type: ACL; Schema: public; Owner: -
6292
--
6293

  
6294

  
6295

  
6296

  
6297

  
6298

  
6299

  
6300
--
6301
-- Name: aggregateoccurrence; Type: ACL; Schema: public; Owner: -
6302
--
6303

  
6304

  
6305

  
6306

  
6307

  
6308

  
6309

  
6310
--
6271 6311
-- Name: analytical_aggregate; Type: ACL; Schema: public; Owner: -
6272 6312
--
6273 6313

  
......
6288 6328

  
6289 6329

  
6290 6330
--
6331
-- Name: analytical_aggregate_view; Type: ACL; Schema: public; Owner: -
6332
--
6333

  
6334

  
6335

  
6336

  
6337

  
6338

  
6339

  
6340
--
6341
-- Name: coordinates; Type: ACL; Schema: public; Owner: -
6342
--
6343

  
6344

  
6345

  
6346

  
6347

  
6348

  
6349

  
6350
--
6351
-- Name: family_higher_plant_group; Type: ACL; Schema: public; Owner: -
6352
--
6353

  
6354

  
6355

  
6356

  
6357

  
6358

  
6359

  
6360
--
6361
-- Name: location; Type: ACL; Schema: public; Owner: -
6362
--
6363

  
6364

  
6365

  
6366

  
6367

  
6368

  
6369

  
6370
--
6371
-- Name: locationevent; Type: ACL; Schema: public; Owner: -
6372
--
6373

  
6374

  
6375

  
6376

  
6377

  
6378

  
6379

  
6380
--
6381
-- Name: locationplace; Type: ACL; Schema: public; Owner: -
6382
--
6383

  
6384

  
6385

  
6386

  
6387

  
6388

  
6389

  
6390
--
6391
-- Name: method; Type: ACL; Schema: public; Owner: -
6392
--
6393

  
6394

  
6395

  
6396

  
6397

  
6398

  
6399

  
6400
--
6401
-- Name: party; Type: ACL; Schema: public; Owner: -
6402
--
6403

  
6404

  
6405

  
6406

  
6407

  
6408

  
6409

  
6410
--
6411
-- Name: plantobservation; Type: ACL; Schema: public; Owner: -
6412
--
6413

  
6414

  
6415

  
6416

  
6417

  
6418

  
6419

  
6420
--
6421
-- Name: source; Type: ACL; Schema: public; Owner: -
6422
--
6423

  
6424

  
6425

  
6426

  
6427

  
6428

  
6429

  
6430
--
6431
-- Name: stemobservation; Type: ACL; Schema: public; Owner: -
6432
--
6433

  
6434

  
6435

  
6436

  
6437

  
6438

  
6439

  
6440
--
6441
-- Name: taxondetermination; Type: ACL; Schema: public; Owner: -
6442
--
6443

  
6444

  
6445

  
6446

  
6447

  
6448

  
6449

  
6450
--
6451
-- Name: taxonoccurrence; Type: ACL; Schema: public; Owner: -
6452
--
6453

  
6454

  
6455

  
6456

  
6457

  
6458

  
6459

  
6460
--
6461
-- Name: taxonverbatim; Type: ACL; Schema: public; Owner: -
6462
--
6463

  
6464

  
6465

  
6466

  
6467

  
6468

  
6469

  
6470
--
6471
-- Name: threatened_taxonlabel; Type: ACL; Schema: public; Owner: -
6472
--
6473

  
6474

  
6475

  
6476

  
6477

  
6478

  
6479

  
6480
--
6481
-- Name: analytical_stem_view; Type: ACL; Schema: public; Owner: -
6482
--
6483

  
6484

  
6485

  
6486

  
6487

  
6488

  
6489

  
6490
--
6491
-- Name: classcontributor; Type: ACL; Schema: public; Owner: -
6492
--
6493

  
6494

  
6495

  
6496

  
6497

  
6498

  
6499

  
6500
--
6501
-- Name: commclass; Type: ACL; Schema: public; Owner: -
6502
--
6503

  
6504

  
6505

  
6506

  
6507

  
6508

  
6509

  
6510
--
6511
-- Name: commconcept; Type: ACL; Schema: public; Owner: -
6512
--
6513

  
6514

  
6515

  
6516

  
6517

  
6518

  
6519

  
6520
--
6521
-- Name: commcorrelation; Type: ACL; Schema: public; Owner: -
6522
--
6523

  
6524

  
6525

  
6526

  
6527

  
6528

  
6529

  
6530
--
6531
-- Name: commdetermination; Type: ACL; Schema: public; Owner: -
6532
--
6533

  
6534

  
6535

  
6536

  
6537

  
6538

  
6539

  
6540
--
6541
-- Name: commlineage; Type: ACL; Schema: public; Owner: -
6542
--
6543

  
6544

  
6545

  
6546

  
6547

  
6548

  
6549

  
6550
--
6551
-- Name: commname; Type: ACL; Schema: public; Owner: -
6552
--
6553

  
6554

  
6555

  
6556

  
6557

  
6558

  
6559

  
6560
--
6561
-- Name: commstatus; Type: ACL; Schema: public; Owner: -
6562
--
6563

  
6564

  
6565

  
6566

  
6567

  
6568

  
6569

  
6570
--
6571
-- Name: commusage; Type: ACL; Schema: public; Owner: -
6572
--
6573

  
6574

  
6575

  
6576

  
6577

  
6578

  
6579

  
6580
--
6581
-- Name: coverindex; Type: ACL; Schema: public; Owner: -
6582
--
6583

  
6584

  
6585

  
6586

  
6587

  
6588

  
6589

  
6590
--
6591
-- Name: covermethod; Type: ACL; Schema: public; Owner: -
6592
--
6593

  
6594

  
6595

  
6596

  
6597

  
6598

  
6599

  
6600
--
6601
-- Name: definedvalue; Type: ACL; Schema: public; Owner: -
6602
--
6603

  
6604

  
6605

  
6606

  
6607

  
6608

  
6609

  
6610
--
6611
-- Name: disturbanceobs; Type: ACL; Schema: public; Owner: -
6612
--
6613

  
6614

  
6615

  
6616

  
6617

  
6618

  
6619

  
6620
--
6621
-- Name: geoscrub_input; Type: ACL; Schema: public; Owner: -
6622
--
6623

  
6624

  
6625

  
6626

  
6627

  
6628

  
6629

  
6630
--
6631
-- Name: geoscrub_input_view; Type: ACL; Schema: public; Owner: -
6632
--
6633

  
6634

  
6635

  
6636

  
6637

  
6638

  
6639

  
6640
--
6641
-- Name: graphic; Type: ACL; Schema: public; Owner: -
6642
--
6643

  
6644

  
6645

  
6646

  
6647

  
6648

  
6649

  
6650
--
6651
-- Name: higher_plant_group_nodes; Type: ACL; Schema: public; Owner: -
6652
--
6653

  
6654

  
6655

  
6656

  
6657

  
6658

  
6659

  
6660
--
6661
-- Name: locationeventcontributor; Type: ACL; Schema: public; Owner: -
6662
--
6663

  
6664

  
6665

  
6666

  
6667

  
6668

  
6669

  
6670
--
6671
-- Name: locationeventsynonym; Type: ACL; Schema: public; Owner: -
6672
--
6673

  
6674

  
6675

  
6676

  
6677

  
6678

  
6679

  
6680
--
6681
-- Name: methodtaxonclass; Type: ACL; Schema: public; Owner: -
6682
--
6683

  
6684

  
6685

  
6686

  
6687

  
6688

  
6689

  
6690
--
6691
-- Name: note; Type: ACL; Schema: public; Owner: -
6692
--
6693

  
6694

  
6695

  
6696

  
6697

  
6698

  
6699

  
6700
--
6701
-- Name: notelink; Type: ACL; Schema: public; Owner: -
6702
--
6703

  
6704

  
6705

  
6706

  
6707

  
6708

  
6709

  
6710
--
6711
-- Name: partymember; Type: ACL; Schema: public; Owner: -
6712
--
6713

  
6714

  
6715

  
6716

  
6717

  
6718

  
6719

  
6720
--
6721
-- Name: placecorrelation; Type: ACL; Schema: public; Owner: -
6722
--
6723

  
6724

  
6725

  
6726

  
6727

  
6728

  
6729

  
6730
--
6731
-- Name: placename; Type: ACL; Schema: public; Owner: -
6732
--
6733

  
6734

  
6735

  
6736

  
6737

  
6738

  
6739

  
6740
--
6741
-- Name: placename_ancestor; Type: ACL; Schema: public; Owner: -
6742
--
6743

  
6744

  
6745

  
6746

  
6747

  
6748

  
6749

  
6750
--
6751
-- Name: plant; Type: ACL; Schema: public; Owner: -
6752
--
6753

  
6754

  
6755

  
6756

  
6757

  
6758

  
6759

  
6760
--
6761
-- Name: project; Type: ACL; Schema: public; Owner: -
6762
--
6763

  
6764

  
6765

  
6766

  
6767

  
6768

  
6769

  
6770
--
6771
-- Name: projectcontributor; Type: ACL; Schema: public; Owner: -
6772
--
6773

  
6774

  
6775

  
6776

  
6777

  
6778

  
6779

  
6780
--
6781
-- Name: revision; Type: ACL; Schema: public; Owner: -
6782
--
6783

  
6784

  
6785

  
6786

  
6787

  
6788

  
6789

  
6790
--
6791
-- Name: soilobs; Type: ACL; Schema: public; Owner: -
6792
--
6793

  
6794

  
6795

  
6796

  
6797

  
6798

  
6799

  
6800
--
6801
-- Name: soiltaxon; Type: ACL; Schema: public; Owner: -
6802
--
6803

  
6804

  
6805

  
6806

  
6807

  
6808

  
6809

  
6810
--
6811
-- Name: sourcecontributor; Type: ACL; Schema: public; Owner: -
6812
--
6813

  
6814

  
6815

  
6816

  
6817

  
6818

  
6819

  
6820
--
6821
-- Name: sourcename; Type: ACL; Schema: public; Owner: -
6822
--
6823

  
6824

  
6825

  
6826

  
6827

  
6828

  
6829

  
6830
--
6831
-- Name: specimen; Type: ACL; Schema: public; Owner: -
6832
--
6833

  
6834

  
6835

  
6836

  
6837

  
6838

  
6839

  
6840
--
6841
-- Name: specimenreplicate; Type: ACL; Schema: public; Owner: -
6842
--
6843

  
6844

  
6845

  
6846

  
6847

  
6848

  
6849

  
6850
--
6851
-- Name: stratum; Type: ACL; Schema: public; Owner: -
6852
--
6853

  
6854

  
6855

  
6856

  
6857

  
6858

  
6859

  
6860
--
6861
-- Name: taxonalt; Type: ACL; Schema: public; Owner: -
6862
--
6863

  
6864

  
6865

  
6866

  
6867

  
6868

  
6869

  
6870
--
6871
-- Name: taxonconcept; Type: ACL; Schema: public; Owner: -
6872
--
6873

  
6874

  
6875

  
6876

  
6877

  
6878

  
6879

  
6880
--
6881
-- Name: taxoncorrelation; Type: ACL; Schema: public; Owner: -
6882
--
6883

  
6884

  
6885

  
6886

  
6887

  
6888

  
6889

  
6890
--
6891
-- Name: taxonlabel_relationship; Type: ACL; Schema: public; Owner: -
6892
--
6893

  
6894

  
6895

  
6896

  
6897

  
6898

  
6899

  
6900
--
6901
-- Name: taxonlineage; Type: ACL; Schema: public; Owner: -
6902
--
6903

  
6904

  
6905

  
6906

  
6907

  
6908

  
6909

  
6910
--
6911
-- Name: taxonstatus; Type: ACL; Schema: public; Owner: -
6912
--
6913

  
6914

  
6915

  
6916

  
6917

  
6918

  
6919

  
6920
--
6921
-- Name: telephone; Type: ACL; Schema: public; Owner: -
6922
--
6923

  
6924

  
6925

  
6926

  
6927

  
6928

  
6929

  
6930
--
6931
-- Name: threatened_taxonlabel_view; Type: ACL; Schema: public; Owner: -
6932
--
6933

  
6934

  
6935

  
6936

  
6937

  
6938

  
6939

  
6940
--
6941
-- Name: tnrs_input_name; Type: ACL; Schema: public; Owner: -
6942
--
6943

  
6944

  
6945

  
6946

  
6947

  
6948

  
6949

  
6950
--
6951
-- Name: trait; Type: ACL; Schema: public; Owner: -
6952
--
6953

  
6954

  
6955

  
6956

  
6957

  
6958

  
6959

  
6960
--
6961
-- Name: userdefined; Type: ACL; Schema: public; Owner: -
6962
--
6963

  
6964

  
6965

  
6966

  
6967

  
6968

  
6969

  
6970
--
6971
-- Name: voucher; Type: ACL; Schema: public; Owner: -
6972
--
6973

  
6974

  
6975

  
6976

  
6977

  
6978

  
6979

  
6980
--
6291 6981
-- PostgreSQL database dump complete
6292 6982
--
6293 6983

  
schemas/vegbien.sql
7312 7312

  
7313 7313

  
7314 7314
--
7315
-- Name: place; Type: ACL; Schema: public; Owner: -
7316
--
7317

  
7318
REVOKE ALL ON TABLE place FROM PUBLIC;
7319
REVOKE ALL ON TABLE place FROM bien;
7320
GRANT ALL ON TABLE place TO bien;
7321
GRANT SELECT ON TABLE place TO bien_read;
7322

  
7323

  
7324
--
7325
-- Name: taxonlabel; Type: ACL; Schema: public; Owner: -
7326
--
7327

  
7328
REVOKE ALL ON TABLE taxonlabel FROM PUBLIC;
7329
REVOKE ALL ON TABLE taxonlabel FROM bien;
7330
GRANT ALL ON TABLE taxonlabel TO bien;
7331
GRANT SELECT ON TABLE taxonlabel TO bien_read;
7332

  
7333

  
7334
--
7335
-- Name: address; Type: ACL; Schema: public; Owner: -
7336
--
7337

  
7338
REVOKE ALL ON TABLE address FROM PUBLIC;
7339
REVOKE ALL ON TABLE address FROM bien;
7340
GRANT ALL ON TABLE address TO bien;
7341
GRANT SELECT ON TABLE address TO bien_read;
7342

  
7343

  
7344
--
7345
-- Name: aggregateoccurrence; Type: ACL; Schema: public; Owner: -
7346
--
7347

  
7348
REVOKE ALL ON TABLE aggregateoccurrence FROM PUBLIC;
7349
REVOKE ALL ON TABLE aggregateoccurrence FROM bien;
7350
GRANT ALL ON TABLE aggregateoccurrence TO bien;
7351
GRANT SELECT ON TABLE aggregateoccurrence TO bien_read;
7352

  
7353

  
7354
--
7315 7355
-- Name: analytical_aggregate; Type: ACL; Schema: public; Owner: -
7316 7356
--
7317 7357

  
......
7332 7372

  
7333 7373

  
7334 7374
--
7375
-- Name: analytical_aggregate_view; Type: ACL; Schema: public; Owner: -
7376
--
7377

  
7378
REVOKE ALL ON TABLE analytical_aggregate_view FROM PUBLIC;
7379
REVOKE ALL ON TABLE analytical_aggregate_view FROM bien;
7380
GRANT ALL ON TABLE analytical_aggregate_view TO bien;
7381
GRANT SELECT ON TABLE analytical_aggregate_view TO bien_read;
7382

  
7383

  
7384
--
7385
-- Name: coordinates; Type: ACL; Schema: public; Owner: -
7386
--
7387

  
7388
REVOKE ALL ON TABLE coordinates FROM PUBLIC;
7389
REVOKE ALL ON TABLE coordinates FROM bien;
7390
GRANT ALL ON TABLE coordinates TO bien;
7391
GRANT SELECT ON TABLE coordinates TO bien_read;
7392

  
7393

  
7394
--
7395
-- Name: family_higher_plant_group; Type: ACL; Schema: public; Owner: -
7396
--
7397

  
7398
REVOKE ALL ON TABLE family_higher_plant_group FROM PUBLIC;
7399
REVOKE ALL ON TABLE family_higher_plant_group FROM bien;
7400
GRANT ALL ON TABLE family_higher_plant_group TO bien;
7401
GRANT SELECT ON TABLE family_higher_plant_group TO bien_read;
7402

  
7403

  
7404
--
7405
-- Name: location; Type: ACL; Schema: public; Owner: -
7406
--
7407

  
7408
REVOKE ALL ON TABLE location FROM PUBLIC;
7409
REVOKE ALL ON TABLE location FROM bien;
7410
GRANT ALL ON TABLE location TO bien;
7411
GRANT SELECT ON TABLE location TO bien_read;
7412

  
7413

  
7414
--
7415
-- Name: locationevent; Type: ACL; Schema: public; Owner: -
7416
--
7417

  
7418
REVOKE ALL ON TABLE locationevent FROM PUBLIC;
7419
REVOKE ALL ON TABLE locationevent FROM bien;
7420
GRANT ALL ON TABLE locationevent TO bien;
7421
GRANT SELECT ON TABLE locationevent TO bien_read;
7422

  
7423

  
7424
--
7425
-- Name: locationplace; Type: ACL; Schema: public; Owner: -
7426
--
7427

  
7428
REVOKE ALL ON TABLE locationplace FROM PUBLIC;
7429
REVOKE ALL ON TABLE locationplace FROM bien;
7430
GRANT ALL ON TABLE locationplace TO bien;
7431
GRANT SELECT ON TABLE locationplace TO bien_read;
7432

  
7433

  
7434
--
7435
-- Name: method; Type: ACL; Schema: public; Owner: -
7436
--
7437

  
7438
REVOKE ALL ON TABLE method FROM PUBLIC;
7439
REVOKE ALL ON TABLE method FROM bien;
7440
GRANT ALL ON TABLE method TO bien;
7441
GRANT SELECT ON TABLE method TO bien_read;
7442

  
7443

  
7444
--
7445
-- Name: party; Type: ACL; Schema: public; Owner: -
7446
--
7447

  
7448
REVOKE ALL ON TABLE party FROM PUBLIC;
7449
REVOKE ALL ON TABLE party FROM bien;
7450
GRANT ALL ON TABLE party TO bien;
7451
GRANT SELECT ON TABLE party TO bien_read;
7452

  
7453

  
7454
--
7455
-- Name: plantobservation; Type: ACL; Schema: public; Owner: -
7456
--
7457

  
7458
REVOKE ALL ON TABLE plantobservation FROM PUBLIC;
7459
REVOKE ALL ON TABLE plantobservation FROM bien;
7460
GRANT ALL ON TABLE plantobservation TO bien;
7461
GRANT SELECT ON TABLE plantobservation TO bien_read;
7462

  
7463

  
7464
--
7465
-- Name: source; Type: ACL; Schema: public; Owner: -
7466
--
7467

  
7468
REVOKE ALL ON TABLE source FROM PUBLIC;
7469
REVOKE ALL ON TABLE source FROM bien;
7470
GRANT ALL ON TABLE source TO bien;
7471
GRANT SELECT ON TABLE source TO bien_read;
7472

  
7473

  
7474
--
7475
-- Name: stemobservation; Type: ACL; Schema: public; Owner: -
7476
--
7477

  
7478
REVOKE ALL ON TABLE stemobservation FROM PUBLIC;
7479
REVOKE ALL ON TABLE stemobservation FROM bien;
7480
GRANT ALL ON TABLE stemobservation TO bien;
7481
GRANT SELECT ON TABLE stemobservation TO bien_read;
7482

  
7483

  
7484
--
7485
-- Name: taxondetermination; Type: ACL; Schema: public; Owner: -
7486
--
7487

  
7488
REVOKE ALL ON TABLE taxondetermination FROM PUBLIC;
7489
REVOKE ALL ON TABLE taxondetermination FROM bien;
7490
GRANT ALL ON TABLE taxondetermination TO bien;
7491
GRANT SELECT ON TABLE taxondetermination TO bien_read;
7492

  
7493

  
7494
--
7495
-- Name: taxonoccurrence; Type: ACL; Schema: public; Owner: -
7496
--
7497

  
7498
REVOKE ALL ON TABLE taxonoccurrence FROM PUBLIC;
7499
REVOKE ALL ON TABLE taxonoccurrence FROM bien;
7500
GRANT ALL ON TABLE taxonoccurrence TO bien;
7501
GRANT SELECT ON TABLE taxonoccurrence TO bien_read;
7502

  
7503

  
7504
--
7505
-- Name: taxonverbatim; Type: ACL; Schema: public; Owner: -
7506
--
7507

  
7508
REVOKE ALL ON TABLE taxonverbatim FROM PUBLIC;
7509
REVOKE ALL ON TABLE taxonverbatim FROM bien;
7510
GRANT ALL ON TABLE taxonverbatim TO bien;
7511
GRANT SELECT ON TABLE taxonverbatim TO bien_read;
7512

  
7513

  
7514
--
7515
-- Name: threatened_taxonlabel; Type: ACL; Schema: public; Owner: -
7516
--
7517

  
7518
REVOKE ALL ON TABLE threatened_taxonlabel FROM PUBLIC;
7519
REVOKE ALL ON TABLE threatened_taxonlabel FROM bien;
7520
GRANT ALL ON TABLE threatened_taxonlabel TO bien;
7521
GRANT SELECT ON TABLE threatened_taxonlabel TO bien_read;
7522

  
7523

  
7524
--
7525
-- Name: analytical_stem_view; Type: ACL; Schema: public; Owner: -
7526
--
7527

  
7528
REVOKE ALL ON TABLE analytical_stem_view FROM PUBLIC;
7529
REVOKE ALL ON TABLE analytical_stem_view FROM bien;
7530
GRANT ALL ON TABLE analytical_stem_view TO bien;
7531
GRANT SELECT ON TABLE analytical_stem_view TO bien_read;
7532

  
7533

  
7534
--
7535
-- Name: classcontributor; Type: ACL; Schema: public; Owner: -
7536
--
7537

  
7538
REVOKE ALL ON TABLE classcontributor FROM PUBLIC;
7539
REVOKE ALL ON TABLE classcontributor FROM bien;
7540
GRANT ALL ON TABLE classcontributor TO bien;
7541
GRANT SELECT ON TABLE classcontributor TO bien_read;
7542

  
7543

  
7544
--
7545
-- Name: commclass; Type: ACL; Schema: public; Owner: -
7546
--
7547

  
7548
REVOKE ALL ON TABLE commclass FROM PUBLIC;
7549
REVOKE ALL ON TABLE commclass FROM bien;
7550
GRANT ALL ON TABLE commclass TO bien;
7551
GRANT SELECT ON TABLE commclass TO bien_read;
7552

  
7553

  
7554
--
7555
-- Name: commconcept; Type: ACL; Schema: public; Owner: -
7556
--
7557

  
7558
REVOKE ALL ON TABLE commconcept FROM PUBLIC;
7559
REVOKE ALL ON TABLE commconcept FROM bien;
7560
GRANT ALL ON TABLE commconcept TO bien;
7561
GRANT SELECT ON TABLE commconcept TO bien_read;
7562

  
7563

  
7564
--
7565
-- Name: commcorrelation; Type: ACL; Schema: public; Owner: -
7566
--
7567

  
7568
REVOKE ALL ON TABLE commcorrelation FROM PUBLIC;
7569
REVOKE ALL ON TABLE commcorrelation FROM bien;
7570
GRANT ALL ON TABLE commcorrelation TO bien;
7571
GRANT SELECT ON TABLE commcorrelation TO bien_read;
7572

  
7573

  
7574
--
7575
-- Name: commdetermination; Type: ACL; Schema: public; Owner: -
7576
--
7577

  
7578
REVOKE ALL ON TABLE commdetermination FROM PUBLIC;
7579
REVOKE ALL ON TABLE commdetermination FROM bien;
7580
GRANT ALL ON TABLE commdetermination TO bien;
7581
GRANT SELECT ON TABLE commdetermination TO bien_read;
7582

  
7583

  
7584
--
7585
-- Name: commlineage; Type: ACL; Schema: public; Owner: -
7586
--
7587

  
7588
REVOKE ALL ON TABLE commlineage FROM PUBLIC;
7589
REVOKE ALL ON TABLE commlineage FROM bien;
7590
GRANT ALL ON TABLE commlineage TO bien;
7591
GRANT SELECT ON TABLE commlineage TO bien_read;
7592

  
7593

  
7594
--
7595
-- Name: commname; Type: ACL; Schema: public; Owner: -
7596
--
7597

  
7598
REVOKE ALL ON TABLE commname FROM PUBLIC;
7599
REVOKE ALL ON TABLE commname FROM bien;
7600
GRANT ALL ON TABLE commname TO bien;
7601
GRANT SELECT ON TABLE commname TO bien_read;
7602

  
7603

  
7604
--
7605
-- Name: commstatus; Type: ACL; Schema: public; Owner: -
7606
--
7607

  
7608
REVOKE ALL ON TABLE commstatus FROM PUBLIC;
7609
REVOKE ALL ON TABLE commstatus FROM bien;
7610
GRANT ALL ON TABLE commstatus TO bien;
7611
GRANT SELECT ON TABLE commstatus TO bien_read;
7612

  
7613

  
7614
--
7615
-- Name: commusage; Type: ACL; Schema: public; Owner: -
7616
--
7617

  
7618
REVOKE ALL ON TABLE commusage FROM PUBLIC;
7619
REVOKE ALL ON TABLE commusage FROM bien;
7620
GRANT ALL ON TABLE commusage TO bien;
7621
GRANT SELECT ON TABLE commusage TO bien_read;
7622

  
7623

  
7624
--
7625
-- Name: coverindex; Type: ACL; Schema: public; Owner: -
7626
--
7627

  
7628
REVOKE ALL ON TABLE coverindex FROM PUBLIC;
7629
REVOKE ALL ON TABLE coverindex FROM bien;
7630
GRANT ALL ON TABLE coverindex TO bien;
7631
GRANT SELECT ON TABLE coverindex TO bien_read;
7632

  
7633

  
7634
--
7635
-- Name: covermethod; Type: ACL; Schema: public; Owner: -
7636
--
7637

  
7638
REVOKE ALL ON TABLE covermethod FROM PUBLIC;
7639
REVOKE ALL ON TABLE covermethod FROM bien;
7640
GRANT ALL ON TABLE covermethod TO bien;
7641
GRANT SELECT ON TABLE covermethod TO bien_read;
7642

  
7643

  
7644
--
7645
-- Name: definedvalue; Type: ACL; Schema: public; Owner: -
7646
--
7647

  
7648
REVOKE ALL ON TABLE definedvalue FROM PUBLIC;
7649
REVOKE ALL ON TABLE definedvalue FROM bien;
7650
GRANT ALL ON TABLE definedvalue TO bien;
7651
GRANT SELECT ON TABLE definedvalue TO bien_read;
7652

  
7653

  
7654
--
7655
-- Name: disturbanceobs; Type: ACL; Schema: public; Owner: -
7656
--
7657

  
7658
REVOKE ALL ON TABLE disturbanceobs FROM PUBLIC;
7659
REVOKE ALL ON TABLE disturbanceobs FROM bien;
7660
GRANT ALL ON TABLE disturbanceobs TO bien;
7661
GRANT SELECT ON TABLE disturbanceobs TO bien_read;
7662

  
7663

  
7664
--
7665
-- Name: geoscrub_input; Type: ACL; Schema: public; Owner: -
7666
--
7667

  
7668
REVOKE ALL ON TABLE geoscrub_input FROM PUBLIC;
7669
REVOKE ALL ON TABLE geoscrub_input FROM bien;
7670
GRANT ALL ON TABLE geoscrub_input TO bien;
7671
GRANT SELECT ON TABLE geoscrub_input TO bien_read;
7672

  
7673

  
7674
--
7675
-- Name: geoscrub_input_view; Type: ACL; Schema: public; Owner: -
7676
--
7677

  
7678
REVOKE ALL ON TABLE geoscrub_input_view FROM PUBLIC;
7679
REVOKE ALL ON TABLE geoscrub_input_view FROM bien;
7680
GRANT ALL ON TABLE geoscrub_input_view TO bien;
7681
GRANT SELECT ON TABLE geoscrub_input_view TO bien_read;
7682

  
7683

  
7684
--
7685
-- Name: graphic; Type: ACL; Schema: public; Owner: -
7686
--
7687

  
7688
REVOKE ALL ON TABLE graphic FROM PUBLIC;
7689
REVOKE ALL ON TABLE graphic FROM bien;
7690
GRANT ALL ON TABLE graphic TO bien;
7691
GRANT SELECT ON TABLE graphic TO bien_read;
7692

  
7693

  
7694
--
7695
-- Name: higher_plant_group_nodes; Type: ACL; Schema: public; Owner: -
7696
--
7697

  
7698
REVOKE ALL ON TABLE higher_plant_group_nodes FROM PUBLIC;
7699
REVOKE ALL ON TABLE higher_plant_group_nodes FROM bien;
7700
GRANT ALL ON TABLE higher_plant_group_nodes TO bien;
7701
GRANT SELECT ON TABLE higher_plant_group_nodes TO bien_read;
7702

  
7703

  
7704
--
7705
-- Name: locationeventcontributor; Type: ACL; Schema: public; Owner: -
7706
--
7707

  
7708
REVOKE ALL ON TABLE locationeventcontributor FROM PUBLIC;
7709
REVOKE ALL ON TABLE locationeventcontributor FROM bien;
7710
GRANT ALL ON TABLE locationeventcontributor TO bien;
7711
GRANT SELECT ON TABLE locationeventcontributor TO bien_read;
7712

  
7713

  
7714
--
7715
-- Name: locationeventsynonym; Type: ACL; Schema: public; Owner: -
7716
--
7717

  
7718
REVOKE ALL ON TABLE locationeventsynonym FROM PUBLIC;
7719
REVOKE ALL ON TABLE locationeventsynonym FROM bien;
7720
GRANT ALL ON TABLE locationeventsynonym TO bien;
7721
GRANT SELECT ON TABLE locationeventsynonym TO bien_read;
7722

  
7723

  
7724
--
7725
-- Name: methodtaxonclass; Type: ACL; Schema: public; Owner: -
7726
--
7727

  
7728
REVOKE ALL ON TABLE methodtaxonclass FROM PUBLIC;
7729
REVOKE ALL ON TABLE methodtaxonclass FROM bien;
7730
GRANT ALL ON TABLE methodtaxonclass TO bien;
7731
GRANT SELECT ON TABLE methodtaxonclass TO bien_read;
7732

  
7733

  
7734
--
7735
-- Name: note; Type: ACL; Schema: public; Owner: -
7736
--
7737

  
7738
REVOKE ALL ON TABLE note FROM PUBLIC;
7739
REVOKE ALL ON TABLE note FROM bien;
7740
GRANT ALL ON TABLE note TO bien;
7741
GRANT SELECT ON TABLE note TO bien_read;
7742

  
7743

  
7744
--
7745
-- Name: notelink; Type: ACL; Schema: public; Owner: -
7746
--
7747

  
7748
REVOKE ALL ON TABLE notelink FROM PUBLIC;
7749
REVOKE ALL ON TABLE notelink FROM bien;
7750
GRANT ALL ON TABLE notelink TO bien;
7751
GRANT SELECT ON TABLE notelink TO bien_read;
7752

  
7753

  
7754
--
7755
-- Name: partymember; Type: ACL; Schema: public; Owner: -
7756
--
7757

  
7758
REVOKE ALL ON TABLE partymember FROM PUBLIC;
7759
REVOKE ALL ON TABLE partymember FROM bien;
7760
GRANT ALL ON TABLE partymember TO bien;
7761
GRANT SELECT ON TABLE partymember TO bien_read;
7762

  
7763

  
7764
--
7765
-- Name: placecorrelation; Type: ACL; Schema: public; Owner: -
7766
--
7767

  
7768
REVOKE ALL ON TABLE placecorrelation FROM PUBLIC;
7769
REVOKE ALL ON TABLE placecorrelation FROM bien;
7770
GRANT ALL ON TABLE placecorrelation TO bien;
7771
GRANT SELECT ON TABLE placecorrelation TO bien_read;
7772

  
7773

  
7774
--
7775
-- Name: placename; Type: ACL; Schema: public; Owner: -
7776
--
7777

  
7778
REVOKE ALL ON TABLE placename FROM PUBLIC;
7779
REVOKE ALL ON TABLE placename FROM bien;
7780
GRANT ALL ON TABLE placename TO bien;
7781
GRANT SELECT ON TABLE placename TO bien_read;
7782

  
7783

  
7784
--
7785
-- Name: placename_ancestor; Type: ACL; Schema: public; Owner: -
7786
--
7787

  
7788
REVOKE ALL ON TABLE placename_ancestor FROM PUBLIC;
7789
REVOKE ALL ON TABLE placename_ancestor FROM bien;
7790
GRANT ALL ON TABLE placename_ancestor TO bien;
7791
GRANT SELECT ON TABLE placename_ancestor TO bien_read;
7792

  
7793

  
7794
--
7795
-- Name: plant; Type: ACL; Schema: public; Owner: -
7796
--
7797

  
7798
REVOKE ALL ON TABLE plant FROM PUBLIC;
7799
REVOKE ALL ON TABLE plant FROM bien;
7800
GRANT ALL ON TABLE plant TO bien;
7801
GRANT SELECT ON TABLE plant TO bien_read;
7802

  
7803

  
7804
--
7805
-- Name: project; Type: ACL; Schema: public; Owner: -
7806
--
7807

  
7808
REVOKE ALL ON TABLE project FROM PUBLIC;
7809
REVOKE ALL ON TABLE project FROM bien;
7810
GRANT ALL ON TABLE project TO bien;
7811
GRANT SELECT ON TABLE project TO bien_read;
7812

  
7813

  
7814
--
7815
-- Name: projectcontributor; Type: ACL; Schema: public; Owner: -
7816
--
7817

  
7818
REVOKE ALL ON TABLE projectcontributor FROM PUBLIC;
7819
REVOKE ALL ON TABLE projectcontributor FROM bien;
7820
GRANT ALL ON TABLE projectcontributor TO bien;
7821
GRANT SELECT ON TABLE projectcontributor TO bien_read;
7822

  
7823

  
7824
--
7825
-- Name: revision; Type: ACL; Schema: public; Owner: -
7826
--
7827

  
7828
REVOKE ALL ON TABLE revision FROM PUBLIC;
7829
REVOKE ALL ON TABLE revision FROM bien;
7830
GRANT ALL ON TABLE revision TO bien;
7831
GRANT SELECT ON TABLE revision TO bien_read;
7832

  
7833

  
7834
--
7835
-- Name: soilobs; Type: ACL; Schema: public; Owner: -
7836
--
7837

  
7838
REVOKE ALL ON TABLE soilobs FROM PUBLIC;
7839
REVOKE ALL ON TABLE soilobs FROM bien;
7840
GRANT ALL ON TABLE soilobs TO bien;
7841
GRANT SELECT ON TABLE soilobs TO bien_read;
7842

  
7843

  
7844
--
7845
-- Name: soiltaxon; Type: ACL; Schema: public; Owner: -
7846
--
7847

  
7848
REVOKE ALL ON TABLE soiltaxon FROM PUBLIC;
7849
REVOKE ALL ON TABLE soiltaxon FROM bien;
7850
GRANT ALL ON TABLE soiltaxon TO bien;
7851
GRANT SELECT ON TABLE soiltaxon TO bien_read;
7852

  
7853

  
7854
--
7855
-- Name: sourcecontributor; Type: ACL; Schema: public; Owner: -
7856
--
7857

  
7858
REVOKE ALL ON TABLE sourcecontributor FROM PUBLIC;
7859
REVOKE ALL ON TABLE sourcecontributor FROM bien;
7860
GRANT ALL ON TABLE sourcecontributor TO bien;
7861
GRANT SELECT ON TABLE sourcecontributor TO bien_read;
7862

  
7863

  
7864
--
7865
-- Name: sourcename; Type: ACL; Schema: public; Owner: -
7866
--
7867

  
7868
REVOKE ALL ON TABLE sourcename FROM PUBLIC;
7869
REVOKE ALL ON TABLE sourcename FROM bien;
7870
GRANT ALL ON TABLE sourcename TO bien;
7871
GRANT SELECT ON TABLE sourcename TO bien_read;
7872

  
7873

  
7874
--
7875
-- Name: specimen; Type: ACL; Schema: public; Owner: -
7876
--
7877

  
7878
REVOKE ALL ON TABLE specimen FROM PUBLIC;
7879
REVOKE ALL ON TABLE specimen FROM bien;
7880
GRANT ALL ON TABLE specimen TO bien;
7881
GRANT SELECT ON TABLE specimen TO bien_read;
7882

  
7883

  
7884
--
7885
-- Name: specimenreplicate; Type: ACL; Schema: public; Owner: -
7886
--
7887

  
7888
REVOKE ALL ON TABLE specimenreplicate FROM PUBLIC;
7889
REVOKE ALL ON TABLE specimenreplicate FROM bien;
7890
GRANT ALL ON TABLE specimenreplicate TO bien;
7891
GRANT SELECT ON TABLE specimenreplicate TO bien_read;
7892

  
7893

  
7894
--
7895
-- Name: stratum; Type: ACL; Schema: public; Owner: -
7896
--
7897

  
7898
REVOKE ALL ON TABLE stratum FROM PUBLIC;
7899
REVOKE ALL ON TABLE stratum FROM bien;
7900
GRANT ALL ON TABLE stratum TO bien;
7901
GRANT SELECT ON TABLE stratum TO bien_read;
7902

  
7903

  
7904
--
7905
-- Name: taxonalt; Type: ACL; Schema: public; Owner: -
7906
--
7907

  
7908
REVOKE ALL ON TABLE taxonalt FROM PUBLIC;
7909
REVOKE ALL ON TABLE taxonalt FROM bien;
7910
GRANT ALL ON TABLE taxonalt TO bien;
7911
GRANT SELECT ON TABLE taxonalt TO bien_read;
7912

  
7913

  
7914
--
7915
-- Name: taxonconcept; Type: ACL; Schema: public; Owner: -
7916
--
7917

  
7918
REVOKE ALL ON TABLE taxonconcept FROM PUBLIC;
7919
REVOKE ALL ON TABLE taxonconcept FROM bien;
7920
GRANT ALL ON TABLE taxonconcept TO bien;
7921
GRANT SELECT ON TABLE taxonconcept TO bien_read;
7922

  
7923

  
7924
--
7925
-- Name: taxoncorrelation; Type: ACL; Schema: public; Owner: -
7926
--
7927

  
7928
REVOKE ALL ON TABLE taxoncorrelation FROM PUBLIC;
7929
REVOKE ALL ON TABLE taxoncorrelation FROM bien;
7930
GRANT ALL ON TABLE taxoncorrelation TO bien;
7931
GRANT SELECT ON TABLE taxoncorrelation TO bien_read;
7932

  
7933

  
7934
--
7935
-- Name: taxonlabel_relationship; Type: ACL; Schema: public; Owner: -
7936
--
7937

  
7938
REVOKE ALL ON TABLE taxonlabel_relationship FROM PUBLIC;
7939
REVOKE ALL ON TABLE taxonlabel_relationship FROM bien;
7940
GRANT ALL ON TABLE taxonlabel_relationship TO bien;
7941
GRANT SELECT ON TABLE taxonlabel_relationship TO bien_read;
7942

  
7943

  
7944
--
7945
-- Name: taxonlineage; Type: ACL; Schema: public; Owner: -
7946
--
7947

  
7948
REVOKE ALL ON TABLE taxonlineage FROM PUBLIC;
7949
REVOKE ALL ON TABLE taxonlineage FROM bien;
7950
GRANT ALL ON TABLE taxonlineage TO bien;
7951
GRANT SELECT ON TABLE taxonlineage TO bien_read;
7952

  
7953

  
7954
--
7955
-- Name: taxonstatus; Type: ACL; Schema: public; Owner: -
7956
--
7957

  
7958
REVOKE ALL ON TABLE taxonstatus FROM PUBLIC;
7959
REVOKE ALL ON TABLE taxonstatus FROM bien;
7960
GRANT ALL ON TABLE taxonstatus TO bien;
7961
GRANT SELECT ON TABLE taxonstatus TO bien_read;
7962

  
7963

  
7964
--
7965
-- Name: telephone; Type: ACL; Schema: public; Owner: -
7966
--
7967

  
7968
REVOKE ALL ON TABLE telephone FROM PUBLIC;
7969
REVOKE ALL ON TABLE telephone FROM bien;
7970
GRANT ALL ON TABLE telephone TO bien;
7971
GRANT SELECT ON TABLE telephone TO bien_read;
7972

  
7973

  
7974
--
7975
-- Name: threatened_taxonlabel_view; Type: ACL; Schema: public; Owner: -
7976
--
7977

  
7978
REVOKE ALL ON TABLE threatened_taxonlabel_view FROM PUBLIC;
7979
REVOKE ALL ON TABLE threatened_taxonlabel_view FROM bien;
7980
GRANT ALL ON TABLE threatened_taxonlabel_view TO bien;
7981
GRANT SELECT ON TABLE threatened_taxonlabel_view TO bien_read;
7982

  
7983

  
7984
--
7985
-- Name: tnrs_input_name; Type: ACL; Schema: public; Owner: -
7986
--
7987

  
7988
REVOKE ALL ON TABLE tnrs_input_name FROM PUBLIC;
7989
REVOKE ALL ON TABLE tnrs_input_name FROM bien;
7990
GRANT ALL ON TABLE tnrs_input_name TO bien;
7991
GRANT SELECT ON TABLE tnrs_input_name TO bien_read;
7992

  
7993

  
7994
--
7995
-- Name: trait; Type: ACL; Schema: public; Owner: -
7996
--
7997

  
7998
REVOKE ALL ON TABLE trait FROM PUBLIC;
7999
REVOKE ALL ON TABLE trait FROM bien;
8000
GRANT ALL ON TABLE trait TO bien;
8001
GRANT SELECT ON TABLE trait TO bien_read;
8002

  
8003

  
8004
--
8005
-- Name: userdefined; Type: ACL; Schema: public; Owner: -
8006
--
8007

  
8008
REVOKE ALL ON TABLE userdefined FROM PUBLIC;
8009
REVOKE ALL ON TABLE userdefined FROM bien;
8010
GRANT ALL ON TABLE userdefined TO bien;
8011
GRANT SELECT ON TABLE userdefined TO bien_read;
8012

  
8013

  
8014
--
8015
-- Name: voucher; Type: ACL; Schema: public; Owner: -
8016
--
8017

  
8018
REVOKE ALL ON TABLE voucher FROM PUBLIC;
8019
REVOKE ALL ON TABLE voucher FROM bien;
8020
GRANT ALL ON TABLE voucher TO bien;
8021
GRANT SELECT ON TABLE voucher TO bien_read;
8022

  
8023

  
8024
--
7335 8025
-- PostgreSQL database dump complete
7336 8026
--
7337 8027

  

Also available in: Unified diff