Skip to content

Commit 98a858f

Browse files
authored
Merge pull request #317 from browserstack/security/enigma-idor-mark-revoked
security(authz): mark_revoked requires ALLOW_USER_OFFBOARD not read perm (F-006, CTO-4858)
2 parents 0ae4f0b + c7a6a92 commit 98a858f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Access/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def all_user_access_list(request, load_ui=True):
575575

576576

577577
@login_required
578-
@user_with_permission(["VIEW_USER_ACCESS_LIST"])
578+
@user_with_permission(["ALLOW_USER_OFFBOARD"])
579579
def mark_revoked(request):
580580
"""Revoke an access
581581

0 commit comments

Comments
 (0)