X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=add_constraints.sql;h=dd366c3a3bf515e24fccfe77da1fdb1e83f22d6d;hb=d8114d5410f3602fc959b972bf52bb316e956cde;hp=d3f4fb971fa25c484f1c249fae889b0e50d4e614;hpb=997f4432f3c09863ff906a55f5205245352f56b5;p=dak.git diff --git a/add_constraints.sql b/add_constraints.sql index d3f4fb97..dd366c3a 100644 --- a/add_constraints.sql +++ b/add_constraints.sql @@ -74,25 +74,11 @@ GRANT ALL ON bin_associations, bin_associations_id_seq, binaries, binaries_id_seq, component, component_id_seq, dsc_files, dsc_files_id_seq, files, files_id_seq, location, location_id_seq, - maintainer, maintainer_id_seq, source, source_id_seq, - src_associations, src_associations_id_seq, suite, - suite_architectures, suite_id_seq - TO troup; - --- Give write privileges to the associations tables for AJ for the purposes of `testing' -GRANT ALL ON - binaries, binaries_id_seq, - bin_associations, bin_associations_id_seq, - source, source_id_seq, - src_associations, src_associations_id_seq, - suite, suite_id_seq - TO ajt; - --- RO access to AJ for all other tables -GRANT SELECT ON - architecture, archive, binaries, component, - dsc_files, files, location, maintainer, source, suite, suite_architectures - TO ajt; + maintainer, maintainer_id_seq, override, override_type, + override_type_id_seq, priority, priority_id_seq, section, + section_id_seq, source, source_id_seq, src_associations, + src_associations_id_seq, suite, suite_architectures, suite_id_seq + TO GROUP ftpmaster; -- Read only access to user 'nobody' GRANT SELECT ON @@ -100,7 +86,8 @@ GRANT SELECT ON bin_associations, bin_associations_id_seq, binaries, binaries_id_seq, component, component_id_seq, dsc_files, dsc_files_id_seq, files, files_id_seq, location, location_id_seq, - maintainer, maintainer_id_seq, source, source_id_seq, - src_associations, src_associations_id_seq, suite, - suite_architectures, suite_id_seq + maintainer, maintainer_id_seq, override, override_type, + override_type_id_seq, priority, priority_id_seq, section, + section_id_seq, source, source_id_seq, src_associations, + src_associations_id_seq, suite, suite_architectures, suite_id_seq TO PUBLIC;