Revision 13932
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/inputs/.TNRS/grants.sql | ||
---|---|---|
1 |
-- |
|
2 |
-- Name: TNRS; Type: ACL; Schema: -; Owner: - |
|
3 |
-- |
|
4 |
|
|
5 |
REVOKE ALL ON SCHEMA "TNRS" FROM PUBLIC; |
|
6 |
REVOKE ALL ON SCHEMA "TNRS" FROM bien; |
|
7 |
GRANT ALL ON SCHEMA "TNRS" TO bien; |
|
8 |
GRANT USAGE ON SCHEMA "TNRS" TO bien_read; |
|
9 |
|
|
10 |
|
|
11 |
-- |
|
12 |
-- Name: tnrs; Type: ACL; Schema: TNRS; Owner: - |
|
13 |
-- |
|
14 |
|
|
15 |
REVOKE ALL ON TABLE taxon_match FROM PUBLIC; |
|
16 |
REVOKE ALL ON TABLE taxon_match FROM bien; |
|
17 |
GRANT ALL ON TABLE taxon_match TO bien; |
|
18 |
GRANT SELECT ON TABLE taxon_match TO bien_read; |
|
19 |
|
|
20 |
|
|
21 |
-- |
|
22 |
-- Name: MatchedTaxon; Type: ACL; Schema: TNRS; Owner: - |
|
23 |
-- |
|
24 |
|
|
25 |
REVOKE ALL ON TABLE "MatchedTaxon" FROM PUBLIC; |
|
26 |
REVOKE ALL ON TABLE "MatchedTaxon" FROM bien; |
|
27 |
GRANT ALL ON TABLE "MatchedTaxon" TO bien; |
|
28 |
GRANT SELECT ON TABLE "MatchedTaxon" TO bien_read; |
|
29 |
|
|
30 |
|
|
31 |
-- |
|
32 |
-- Name: ValidMatchedTaxon; Type: ACL; Schema: TNRS; Owner: - |
|
33 |
-- |
|
34 |
|
|
35 |
REVOKE ALL ON TABLE "ValidMatchedTaxon" FROM PUBLIC; |
|
36 |
REVOKE ALL ON TABLE "ValidMatchedTaxon" FROM bien; |
|
37 |
GRANT ALL ON TABLE "ValidMatchedTaxon" TO bien; |
|
38 |
GRANT SELECT ON TABLE "ValidMatchedTaxon" TO bien_read; |
|
39 |
|
|
40 |
|
|
41 |
-- |
|
42 |
-- Name: taxon_scrub.scrubbed_unique_taxon_name.*; Type: ACL; Schema: TNRS; Owner: - |
|
43 |
-- |
|
44 |
|
|
45 |
REVOKE ALL ON TABLE "taxon_scrub.scrubbed_unique_taxon_name.*" FROM PUBLIC; |
|
46 |
REVOKE ALL ON TABLE "taxon_scrub.scrubbed_unique_taxon_name.*" FROM bien; |
|
47 |
GRANT ALL ON TABLE "taxon_scrub.scrubbed_unique_taxon_name.*" TO bien; |
|
48 |
GRANT SELECT ON TABLE "taxon_scrub.scrubbed_unique_taxon_name.*" TO bien_read; |
|
49 |
|
|
50 |
|
|
51 |
-- |
|
52 |
-- Name: taxon_scrub; Type: ACL; Schema: TNRS; Owner: - |
|
53 |
-- |
|
54 |
|
|
55 |
REVOKE ALL ON TABLE taxon_scrub FROM PUBLIC; |
|
56 |
REVOKE ALL ON TABLE taxon_scrub FROM bien; |
|
57 |
GRANT ALL ON TABLE taxon_scrub TO bien; |
|
58 |
GRANT SELECT ON TABLE taxon_scrub TO bien_read; |
Also available in: Unified diff
removed no longer needed inputs/.TNRS/grants.sql, since the grants in schema.sql are now being run