Skip to content

Commit

Permalink
Fix permissions message
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Mar 26, 2024
1 parent 11b4f4a commit 2c8eb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def has_permission(self, request, view) -> bool:
is_member = uac.check_access_level_for_object(view.team, required_level="member")

if not is_member:
self.message = f"You are not a member of this project."
self.message = f"You don't have access to the project."
return False

scope_object = self._get_scope_object(request, view)
Expand Down

0 comments on commit 2c8eb15

Please sign in to comment.