Skip to content

Commit

Permalink
Update cloud.gov list of developers (#4041)
Browse files Browse the repository at this point in the history
* Update cloud.gov list of developers

* Remove Tim from create_access_tables.sql
  • Loading branch information
asteel-gsa authored Jul 1, 2024
1 parent ef5aef0 commit ddc8400
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 49 deletions.
80 changes: 37 additions & 43 deletions backend/support/api/admin_api_v1_1_0/create_access_tables.sql
Original file line number Diff line number Diff line change
@@ -1,43 +1,37 @@
-- 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
(
'[email protected]',
'61ba59b2-f545-4c2f-9b24-9655c706a06c',
'CREATE,READ,DELETE',
'2023-12-04'
),
(
'[email protected]',
'1e2845a0-c844-4a6f-84ac-f398b58ce7c9',
'CREATE,READ,DELETE',
'2023-12-08'
),
(
'[email protected]',
'b6e08808-ecb2-4b6a-b928-46d4205497ff',
'CREATE,READ,DELETE',
'2023-12-08'
)
;

-- 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
(
'[email protected]',
'61ba59b2-f545-4c2f-9b24-9655c706a06c',
'CREATE,READ,DELETE',
'2023-12-04'
),
(
'[email protected]',
'b6e08808-ecb2-4b6a-b928-46d4205497ff',
'CREATE,READ,DELETE',
'2023-12-08'
)
;

7 changes: 1 addition & 6 deletions terraform/meta/config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ locals {
# TODO: Automate updates via GitHub's GraphQL API
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
Expand All @@ -41,10 +38,8 @@ locals {
# TODO: Automate updates via GitHub's GraphQL API
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
]

internal_asgs = [
Expand Down

0 comments on commit ddc8400

Please sign in to comment.