Creates a new Role in the system.
Parameters: name - The name of the new Role. An object representing the new Role. throws: TurbineSecurityException - if the Role could not be created.
Grants a Permission to this Role.
Parameters: permission - A Permission. throws: TurbineSecurityException - if there is a problem while assigningthe Permission.
Grants Permissions from a PermissionSet to this Role.
Parameters: permissionSet - A PermissionSet. throws: TurbineSecurityException - if there is a problem while assigningthe Permissions.
Revokes a Permission from this Role.
Parameters: permission - A Permission. throws: TurbineSecurityException - if there is a problem while unassigningthe Permission.
Revokes Permissions from a PermissionSet from this Role.
Parameters: permissionSet - A PermissionSet. throws: TurbineSecurityException - if there is a problem while unassigningthe Permissions.