Skip to content

Commit c9f3a62

Browse files
ThomasLaPianaKelsey-Ethyca
authored andcommitted
Merge pull request from GHSA-rjxg-rpg3-9r89
* feat: remove the config_read scope from the viewer role * feat: remove the CONFIG_READ scope from the contributor role as well
1 parent cd344d0 commit c9f3a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/fides/api/oauth/roles.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class RoleRegistryEnum(Enum):
8686
viewer_scopes = [ # Intentionally omitted USER_PERMISSION_READ
8787
CLI_OBJECTS_READ,
8888
CLIENT_READ,
89-
CONFIG_READ,
9089
CONNECTION_READ,
9190
CONSENT_READ,
9291
CONSENT_SETTINGS_READ,
@@ -126,6 +125,7 @@ class RoleRegistryEnum(Enum):
126125
MESSAGING_CREATE_OR_UPDATE,
127126
MESSAGING_DELETE,
128127
PRIVACY_REQUEST_NOTIFICATIONS_CREATE_OR_UPDATE,
128+
CONFIG_READ,
129129
CONFIG_UPDATE,
130130
USER_PERMISSION_ASSIGN_OWNERS,
131131
]

0 commit comments

Comments
 (0)