Libraries anvil runtime Permission

class Permission
extends anvil.lang.object
Class for representing access to a system resource.

Constructor
Permission(string type, ..parameters)


Methods

string getActions()
Returns this permissions actions.

string getName()
Returns this permission's name.

string getType()
Returns this permission's type.

boolean implies(Permission permission)
Checks if the specified permission's actions are "implied by" this permissions's actions.