MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / has_permission

Method has_permission

api/users/views.py:59–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 )
58
59 def has_permission(self): # type: ignore[no-untyped-def]
60 return not should_skip_create_initial_superuser()
61
62 def handle_no_permission(self): # type: ignore[no-untyped-def]
63 raise Http404("CAN NOT INIT CONFIGURATION. USER(S) ALREADY EXIST IN SYSTEM.")

Callers

nothing calls this directly

Tested by

no test coverage detected