apps.authentication.models.BonoboUser

class apps.authentication.models.BonoboUser(*args: Any, **kwargs: Any)[source]

Bases: AbstractBaseUser

Methods

has_module_perms

Does the user have permissions to view the app app_label?

has_perm

Does the user have a specific permission?

Attributes

REQUIRED_FIELDS

USERNAME_FIELD

dualis_scraped_data

email

is_active

is_admin

is_staff

Is the user a member of staff?

lectures

moodle_scraped_data

moodle_token

objects

user_objects

zimbra_accountname

zimbra_contacts

zimbra_headers

zimbra_name

zimbra_token

__call__(*args: Any, **kwargs: Any) Any

Call self as a function.

has_module_perms(app_label)[source]

Does the user have permissions to view the app app_label?

has_perm(perm, obj=None)[source]

Does the user have a specific permission?

property is_staff

Is the user a member of staff?