We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315a62d commit 92a0192Copy full SHA for 92a0192
1 file changed
openedx_authz/api/validation.py
@@ -54,6 +54,8 @@ def validate_scope_with_glob(scope: ScopeData) -> None:
54
if isinstance(scope, ContentLibraryData):
55
return _validate_library_scope_glob(scope_prefix)
56
57
+ raise ValueError(f"Invalid scope: {scope}")
58
+
59
60
def _validate_org_identifier(scope_prefix: str) -> str:
61
"""Extract and structurally validate the organization identifier in a scope.
0 commit comments