diff options
| author | Frederick Muriuki Muriithi | 2026-02-06 16:59:59 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-02-06 16:59:59 -0600 |
| commit | 6f1907292cb2b54b8f18b139480b1837c6f355e0 (patch) | |
| tree | f786398cce207daf39908a124572827e54f8d853 /scripts/batch_assign_data_to_default_admin.py | |
| parent | f91869500b0cb2ebeb785ee13464cad9aefba801 (diff) | |
| download | gn-auth-6f1907292cb2b54b8f18b139480b1837c6f355e0.tar.gz | |
Replace hard-coded email check with check against privileges
Fix the check: rather than using a hard-coded email to check for authorisation, we instead check against the privileges the user has on the resource, or whether they have global privileges allowing them to act on any data.
Diffstat (limited to 'scripts/batch_assign_data_to_default_admin.py')
0 files changed, 0 insertions, 0 deletions
