diff --git a/posthog/rbac/user_access_control.py b/posthog/rbac/user_access_control.py index 0de31aef4ac58..73b57234b7210 100644 --- a/posthog/rbac/user_access_control.py +++ b/posthog/rbac/user_access_control.py @@ -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: