Skip to content

Commit 91e9fb9

Browse files
committed
chore: remove load of policy in permission validation endpoint
1 parent 70ca83a commit 91e9fb9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

openedx_authz/rest_api/v1/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ def post(self, request: HttpRequest) -> Response:
109109
serializer.is_valid(raise_exception=True)
110110
data = serializer.validated_data
111111

112-
AuthzEnforcer.get_enforcer().load_policy()
113-
114112
username = request.user.username
115113
response_data = []
116114
for permission in data:

0 commit comments

Comments
 (0)