class documentation

class IUser(IObject, Protocol): (source)

Known subclasses: gws.base.auth.user.User

View In Hierarchy

Undocumented

Method acl_bit Undocumented
Method acquire Undocumented
Method can Undocumented
Method can_create Undocumented
Method can_delete Undocumented
Method can_edit Undocumented
Method can_read Undocumented
Method can_use Undocumented
Method can_write Undocumented
Method require Undocumented
Class Variable attributes Undocumented
Class Variable displayName Undocumented
Class Variable isGuest Undocumented
Class Variable localUid Undocumented
Class Variable loginName Undocumented
Class Variable provider Undocumented
Class Variable roles Undocumented
Class Variable uid Undocumented

Inherited from IObject:

Method props Undocumented
Class Variable permissions Undocumented
def acl_bit(self, access: Access, obj: IObject) -> Optional[int]: (source)

Undocumented

def acquire(self, uid: str, classref: Optional[ClassRef] = None, access: Optional[Access] = None) -> Optional[IObject]: (source)

Undocumented

def can(self, access: Access, obj: IObject, *context) -> bool: (source)

Undocumented

def can_create(self, obj: IObject, *context) -> bool: (source)

Undocumented

def can_delete(self, obj: IObject, *context) -> bool: (source)

Undocumented

def can_edit(self, obj: IObject, *context) -> bool: (source)

Undocumented

def can_read(self, obj: IObject, *context) -> bool: (source)

Undocumented

def can_use(self, obj: IObject, *context) -> bool: (source)

Undocumented

def can_write(self, obj: IObject, *context) -> bool: (source)

Undocumented

def require(self, uid: str, classref: Optional[ClassRef] = None, access: Optional[Access] = None) -> IObject: (source)

Undocumented

attributes: dict[str, Any] = (source)

Undocumented

displayName: str = (source)

Undocumented

isGuest: bool = (source)

Undocumented

localUid: str = (source)

Undocumented

loginName: str = (source)

Undocumented

Undocumented

roles: set[str] = (source)

Undocumented

uid: str = (source)

Undocumented