diff options
author | Frederick Muriuki Muriithi | 2023-02-06 14:20:24 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-02-06 14:20:24 +0300 |
commit | 30da2f48eb35360bb339d54da2ab83d96a1cf85b (patch) | |
tree | e30f2e0c3e884df0be52c7c3ffe65d1636aaa2c1 /migrations | |
parent | 6c76667857d5bbc8db962a551cece3f068074055 (diff) | |
download | genenetwork3-30da2f48eb35360bb339d54da2ab83d96a1cf85b.tar.gz |
auth: resource: Enable viewing the details of a resource.
Diffstat (limited to 'migrations')
-rw-r--r-- | migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py b/migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py index c4887cd..386f481 100644 --- a/migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py +++ b/migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py @@ -10,7 +10,8 @@ steps = [ step( """ INSERT INTO roles(role_id, role_name, user_editable) VALUES - ('a0e67630-d502-4b9f-b23f-6805d0f30e30', 'group-leader', '0') + ('a0e67630-d502-4b9f-b23f-6805d0f30e30', 'group-leader', '0'), + ('522e4d40-aefc-4a64-b7e0-768b8be517ee', 'resource-owner', '0') """, "DELETE FROM roles"), step( @@ -41,6 +42,14 @@ steps = [ ('a0e67630-d502-4b9f-b23f-6805d0f30e30', '2f980855-959b-4339-b80e-25d1ec286e21'), ('a0e67630-d502-4b9f-b23f-6805d0f30e30', + 'd2a070fd-e031-42fb-ba41-d60cf19e5d6d'), + ('522e4d40-aefc-4a64-b7e0-768b8be517ee', + 'aa25b32a-bff2-418d-b0a2-e26b4a8f089b'), + ('522e4d40-aefc-4a64-b7e0-768b8be517ee', + '7f261757-3211-4f28-a43f-a09b800b164d'), + ('522e4d40-aefc-4a64-b7e0-768b8be517ee', + '2f980855-959b-4339-b80e-25d1ec286e21'), + ('522e4d40-aefc-4a64-b7e0-768b8be517ee', 'd2a070fd-e031-42fb-ba41-d60cf19e5d6d') """, "DELETE FROM role_privileges") |