factory:PermissionService source

Gets the actual service object.

Members

permMapping

Mapping for permission aliases to permission check functions.

scopePrototype

Prototype of all angular scopes.

Methods

self.define

Defines a permission alias used in the UI

Returns:

self.has

Checks if the currently logged in user has permission for the given permission alias.

Returns: