RoleManager class abstract

Implementers

Constructors

RoleManager()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

Adds the inheritance link between two roles. role: name1 and role: name2. domain is a prefix to the roles.
clear() → void
Clears all stored data and resets the role manager to the initial state.
Delete the inheritance link between two roles. role: name1 and role: name2. domain is a prefix to the roles.
getRoles(String name, [List<String> domain = const []]) List<String>
Returns the roles that a user inherits. domain is a prefix to the roles.
getUsers(String name, [List<String> domain = const []]) List<String>
Returns the users that inherits a role.
Returns whether a link exists between two roles. role: name1 inherits role: name2. domain is a prefix to the roles.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printRoles() → void
Prints all the roles to log.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited