MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / is_organisation_admin

Method is_organisation_admin

api/users/models.py:254–255  ·  view source on GitHub ↗
(self, organisation: typing.Union["Organisation", int])

Source from the content-addressed store, hash-verified

252 self.add_organisation(organisation, role=OrganisationRole(invite.role))
253
254 def is_organisation_admin(self, organisation: typing.Union["Organisation", int]): # type: ignore[no-untyped-def]
255 return is_user_organisation_admin(self, organisation)
256
257 def get_admin_organisations(self): # type: ignore[no-untyped-def]
258 return Organisation.objects.filter(

Callers 15

add_usersMethod · 0.45
remove_usersMethod · 0.45
has_object_permissionMethod · 0.45
detailed_permissionsMethod · 0.45
has_permissionMethod · 0.45
has_object_permissionMethod · 0.45
has_permissionMethod · 0.45
has_object_permissionMethod · 0.45
has_permissionMethod · 0.45

Calls 1