Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Mar 26, 2024
1 parent 33a8666 commit 328bad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/rbac/user_access_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def check_access_level_for_object(self, obj: Model, required_level: str) -> Opti
# If no access control exists
return access_level_satisfied_for_resource(resource, access_level, required_level)

def check_can_modify_access_levels_for_object(self, obj: Model, resource: Optional[str] = None) -> Optional[bool]:
def check_can_modify_access_levels_for_object(self, obj: Model) -> Optional[bool]:
"""
Special case for checking if the user can modify the access levels for an object.
Unlike check_access_level_for_object, this requires that one of these conditions is true:
Expand Down

0 comments on commit 328bad7

Please sign in to comment.