Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Flagsmith/flagsmith
/ belongs_to
Method
belongs_to
api/users/abc.py:17–18 ·
view source on GitHub ↗
(self, organisation_id: int)
Source
from the content-addressed store, hash-verified
15
16
@abstractmethod
17
def
belongs_to(self, organisation_id: int) -> bool:
18
raise
NotImplementedError()
19
20
@abstractmethod
21
def
is_project_admin(self, project:
"Project"
) -> bool:
Callers
13
has_permission
Method · 0.45
has_object_permission
Method · 0.45
has_permission
Method · 0.45
has_permission
Method · 0.45
has_permission
Method · 0.45
has_permission
Method · 0.45
has_object_permission
Method · 0.45
has_permission
Method · 0.45
has_object_permission
Method · 0.45
test_belongs_to__user_in_organisation__returns_true
Function · 0.45
test_belongs_to__user_not_in_organisation__returns_false
Function · 0.45
test_delete_edge_identity__user_from_another_project__returns_403
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_belongs_to__user_in_organisation__returns_true
Function · 0.36
test_belongs_to__user_not_in_organisation__returns_false
Function · 0.36
test_delete_edge_identity__user_from_another_project__returns_403
Function · 0.36