Skip to content

Commit c4d7156

Browse files
refactor: drop sc: references
1 parent 47132c6 commit c4d7156

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openedx_authz/tests/rest_api/test_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ def test_permission_validation_success(self, request_data: list[dict], permissio
199199
("lib:AnyOrg1:ANYLIB1", True),
200200
("lib:AnyOrg2:ANYLIB2", True),
201201
("lib:AnyOrg3:ANYLIB3", True),
202-
("sc:AnyScope1", False),
202+
("global:AnyScope1", False),
203203
)
204204
@unpack
205205
def test_permission_validation_staff_superuser_access(self, scope: str, expected_result: bool):
206206
"""Test that staff/superuser users have guaranteed permissions for ContentLibrary scopes.
207207
208208
Test cases:
209209
- ContentLibrary scopes (lib:*): Staff/superuser automatically allowed
210-
- Generic scopes (sc:*): No automatic access granted
210+
- Generic scopes (global:*): No automatic access granted
211211
212212
Expected result:
213213
- Returns 200 OK status

0 commit comments

Comments
 (0)