diff options
| author | Taras Madan <tarasmadan@google.com> | 2024-10-18 14:42:03 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2024-10-24 15:09:15 +0000 |
| commit | c79b8ca5e7c93bda29628ad40e676555303f4812 (patch) | |
| tree | 329c30cd2c090e2f80c1c9a86bf2a6f0fcc6bbaa /dashboard/app/app_test.go | |
| parent | 9fc8fe026baab9959459256f2d47f4bbf21d405a (diff) | |
dashboard/app: introduce authorized PublicAccess
Diffstat (limited to 'dashboard/app/app_test.go')
| -rw-r--r-- | dashboard/app/app_test.go | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 94e6c409d..876104f42 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -42,7 +42,16 @@ func init() { // Config used in tests. var testConfig = &GlobalConfig{ AccessLevel: AccessPublic, - AuthDomains: []string{"@syzkaller.com"}, + ACL: []*ACLItem{ + { + Domain: "syzkaller.com", + Access: AccessUser, + }, + { + Email: makeUser(AuthorizedAccessPublic).Email, + Access: AccessPublic, + }, + }, Clients: map[string]string{ "reporting": "reportingkeyreportingkeyreportingkey", }, |
