Commit Graph

15 Commits

Author SHA1 Message Date
alexjanousekGSA
31a9e39846 Formatting and linting changes 2025-07-31 07:49:12 -04:00
Beverly Nguyen
afaae0a695 Merge branch 'main' into 2721-create-enums-and-replace-hardcoded-status-strings-with-enums-PART5 2025-07-22 12:55:45 -07:00
Beverly Nguyen
1ac907d359 update test 2025-07-22 11:12:26 -07:00
Beverly Nguyen
32ca1abe9b servicepermission enum part 5 2025-07-21 16:37:55 -07:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -07:00
Beverly Nguyen
126188cea1 added manage_templates to enum 2025-07-16 22:30:48 -07:00
Beverly Nguyen
1bf55e7fa3 Replace send_messages and manage_service strings across application with ServicePermission.SEND_MESSAGES and ServicePermission.MANAGE_SERVICE types 2025-07-15 23:56:58 -07:00
Kenneth Kehl
7db678ddec remove permsision to manage API integration 2024-10-21 12:27:44 -07:00
Kenneth Kehl
8c9721d8e2 notify-api-412 use black to enforce python coding style 2023-08-25 09:12:23 -07:00
stvnrlly
944715ac46 big commit with letters removal 2022-12-05 15:33:44 -05:00
stvnrlly
f16b5dd1c4 remove broadcast-related code 2022-10-04 03:04:13 +00:00
Ben Thorner
dcfff87cc0 Continue to remove "roles" terminology
This renames the two functions we have to translate between UI and
DB permissions, as well as some of their associated variables to
make it clearer which kind of permission they contain.
2021-07-28 12:37:17 +01:00
Ben Thorner
ba9865e62e Start to remove use of the term "roles"
We don't use this term consistently and it's not defined anywhere.
Since most of the Admin app deals with user-facing permssions, it's
OK to just use the term "permissions". Where both types of permission
are present in the same file, we can more clearly distinguish them
as "UI permissions" and "DB permissions".
2021-07-28 12:37:16 +01:00
Ben Thorner
a38baa0bd8 Rename unclear "permissions" attributes
These are more than a list of permissions: each item includes the
label to use when displaying it as an option on a form. Switching
to a name that reflects how the attributes are used will help to
avoid confusion when we rename some of the other attributes in the
same file in later commits.
2021-07-28 12:37:15 +01:00
Ben Thorner
1127a03c32 Move and rename roles_and_permissions.py
This file does not represent a model, but rather a set of utilities
that are specific to user permissions (vs. service permissions).
2021-07-28 12:36:40 +01:00