Skip to content

Commit

Permalink
Merge pull request from GHSA-rjxg-rpg3-9r89
Browse files Browse the repository at this point in the history
* feat: remove the config_read scope from the viewer role

* feat: remove the CONFIG_READ scope from the contributor role as well
  • Loading branch information
ThomasLaPiana authored and Kelsey-Ethyca committed Oct 22, 2023
1 parent cd344d0 commit c9f3a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fides/api/oauth/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class RoleRegistryEnum(Enum):
viewer_scopes = [ # Intentionally omitted USER_PERMISSION_READ
CLI_OBJECTS_READ,
CLIENT_READ,
CONFIG_READ,
CONNECTION_READ,
CONSENT_READ,
CONSENT_SETTINGS_READ,
Expand Down Expand Up @@ -126,6 +125,7 @@ class RoleRegistryEnum(Enum):
MESSAGING_CREATE_OR_UPDATE,
MESSAGING_DELETE,
PRIVACY_REQUEST_NOTIFICATIONS_CREATE_OR_UPDATE,
CONFIG_READ,
CONFIG_UPDATE,
USER_PERMISSION_ASSIGN_OWNERS,
]
Expand Down

0 comments on commit c9f3a62

Please sign in to comment.