diff options
author | Munyoki Kilyungi | 2024-02-29 04:04:34 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-03-04 12:33:24 +0300 |
commit | f5e833c0d72eaec80425203b15210ed304cc4811 (patch) | |
tree | 5ccb254dbfaf9c63a1874138dfa99ab1701655e9 /migrations/auth/20221206_01_BbeF9-create-group-user-roles-on-resources-table.py | |
parent | bf700400e56b64e536d9535f86f0c8add31b1c48 (diff) | |
download | gn-auth-f5e833c0d72eaec80425203b15210ed304cc4811.tar.gz |
Add an extra endpoint for metadata authorisation.
* gn_auth/auth/authorisation/data/views.py: (metadata_resources): New
end-point for authorising metadata data.
* gn_auth/auth/authorisation/resources/models.py: Import sqlite3.Row.
(__metadata_resource_data__): New function.
(__assign_resource_owner_role__): Add __metadata_resource_data__
to the "resource_data_function" map.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'migrations/auth/20221206_01_BbeF9-create-group-user-roles-on-resources-table.py')
0 files changed, 0 insertions, 0 deletions