Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
benjackwhite committed Mar 28, 2024
1 parent 7b0f1ac commit f54ef1d
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions ee/api/rbac/test/test_access_control.py
Original file line number Diff line number Diff line change
@@ -6,8 +6,6 @@
from ee.models.rbac.role import Role, RoleMembership
from posthog.constants import AvailableFeature
from posthog.models.dashboard import Dashboard
from posthog.models.feature_flag.feature_flag import FeatureFlag
from posthog.models.insight import Insight
from posthog.models.notebook.notebook import Notebook
from posthog.models.organization import OrganizationMembership
from posthog.models.team.team import Team
1 change: 0 additions & 1 deletion posthog/permissions.py
Original file line number Diff line number Diff line change
@@ -471,7 +471,6 @@ def has_permission(self, request, view) -> bool:
required_level = self._get_required_access_level(request, view)

team: Team
obj: Optional[Model] = None

try:
team = view.team

0 comments on commit f54ef1d

Please sign in to comment.