This commit is contained in:
Sarah Clements 2020-04-13 09:45:50 -07:00 коммит произвёл GitHub
Родитель f4727a6379
Коммит ca001cb46e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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';