NAME

Maximus::Schema::Result::User

ACCESSORS

id

data_type: 'integer'
extra: {unsigned => 1}
is_auto_increment: 1
is_nullable: 0

username

data_type: 'varchar'
is_nullable: 0
size: 45

password

data_type: 'varchar'
is_nullable: 0
size: 40

email

data_type: 'varchar'
is_nullable: 0
size: 45

RELATIONS

user_roles

Type: has_many

Related object: Maximus::Schema::Result::UserRole

METHODS

insert

Inserting a user record will also insert a role with a value of user-id-mutable.

search_role_objects($pattern)

Search for object id's in user roles.

$pattern can be either a Regexp or a string. When using a string only supply the prefix, e.g. scm for ^scm-\d+

get_scms

Retrieve all SCM's this user has access to

get_modscopes

get_modscopes ($role)

Retrieve all modscopes this user has access to. Defaults to role readable.

is_superuser

See if the user has the is_superuser role

sqlt_deploy_hook

Force MySQL to use InnoDB and UTF-8