-
Notifications
You must be signed in to change notification settings - Fork 5
/
create_access_tables.sql
49 lines (44 loc) · 1.23 KB
/
create_access_tables.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- This is explicitly not a Django managed table.
-- In order to have an administrative key added,
-- it must be added via a Github commit, and a PR
-- must be performed to merge the key into the tree.
-- This is because administrative keys can read/write
-- to some tables in the database. They can read internal and
-- in-flight data.
DROP TABLE IF EXISTS support_administrative_key_uuids;
CREATE TABLE support_administrative_key_uuids
(
id BIGSERIAL PRIMARY KEY,
email TEXT,
uuid TEXT,
permissions TEXT,
added DATE
);
INSERT INTO support_administrative_key_uuids
(email, uuid, permissions, added)
VALUES
(
'matthew.jadud@gsa.gov',
'61ba59b2-f545-4c2f-9b24-9655c706a06c',
'CREATE,READ,DELETE',
'2023-12-04'
),
(
'carley.jackson@gsa.gov',
'a938cfca-c8eb-4065-b2eb-782d04bd58ef',
'CREATE,READ,DELETE',
'2023-12-04'
),
(
'timothy.ballard@gsa.gov',
'1e2845a0-c844-4a6f-84ac-f398b58ce7c9',
'CREATE,READ,DELETE',
'2023-12-08'
),
(
'daniel.swick@gsa.gov',
'b6e08808-ecb2-4b6a-b928-46d4205497ff',
'CREATE,READ,DELETE',
'2023-12-08'
)
;