MCPcopy Create free account
hub / github.com/alephdata/aleph / load_cli_user

Method load_cli_user

aleph/model/role.py:251–254  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

249
250 @classmethod
251 def load_cli_user(cls):
252 return cls.load_or_create(
253 SETTINGS.SYSTEM_USER, cls.USER, "Aleph", is_admin=True
254 )
255
256 @classmethod
257 def load_id(cls, foreign_id):

Callers 7

ensure_collectionFunction · 0.80
load_entitiesFunction · 0.80
groupsFunction · 0.80
publishFunction · 0.80
metadataFunction · 0.80
create_system_rolesFunction · 0.80
delete_roleFunction · 0.80

Calls 1

load_or_createMethod · 0.80

Tested by

no test coverage detected