зеркало из https://github.com/mozilla/treeherder.git
Update docs with grant access (#6276)
This commit is contained in:
Родитель
f4727a6379
Коммит
ca001cb46e
|
@ -312,7 +312,7 @@ CREATE USER 'myuser' IDENTIFIED BY 'PASSWORD >=30 CHARACTERS LONG' REQUIRE SSL;
|
|||
-- Tables where we want to allow only partial access.
|
||||
-- `password` is randomly generated by Django and never used/exposed due to SSO,
|
||||
-- so is not really sensitive, but it causes less confusion to still exclude it.
|
||||
GRANT SELECT (id, username, email) ON treeherder.auth_user to 'myuser';
|
||||
GRANT SELECT, SELECT (id, username, email) ON treeherder.auth_user to 'myuser';
|
||||
|
||||
-- Tables containing no sensitive data.
|
||||
GRANT SELECT ON treeherder.backfill_record to 'myuser';
|
||||
|
@ -320,6 +320,8 @@ GRANT SELECT ON treeherder.backfill_report to 'myuser';
|
|||
GRANT SELECT ON treeherder.bug_job_map to 'myuser';
|
||||
GRANT SELECT ON treeherder.bugscache to 'myuser';
|
||||
GRANT SELECT ON treeherder.build_platform to 'myuser';
|
||||
GRANT SELECT ON treeherder.changelog_entry to 'myuser';
|
||||
GRANT SELECT ON treeherder.changelog_file to 'myuser';
|
||||
GRANT SELECT ON treeherder.classified_failure to 'myuser';
|
||||
GRANT SELECT ON treeherder.commit to 'myuser';
|
||||
GRANT SELECT ON treeherder.failure_classification to 'myuser';
|
||||
|
|
Загрузка…
Ссылка в новой задаче