Skip to content

Commit 00ee709

Browse files
refactor: drop load policy in favor of cache invalidation
1 parent 0e7a10a commit 00ee709

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

openedx_authz/api/roles.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,5 +431,4 @@ def unassign_subject_from_all_roles(subject: SubjectData) -> bool:
431431
bool: True if any roles were removed, False otherwise.
432432
"""
433433
enforcer = AuthzEnforcer.get_enforcer()
434-
enforcer.load_policy()
435434
return enforcer.remove_filtered_grouping_policy(GroupingPolicyIndex.SUBJECT.value, subject.namespaced_key)

0 commit comments

Comments
 (0)