Members
# static CLEAR_PERMISSIONS_FOR_ROLE
Properties:
Name | Type | Description |
---|---|---|
type |
string | CLEAR_ALL_EDITED_PERMISSIONS |
Methods
# static checkOrUncheckPermission(roleId, permissions, permissionId, isAdd)
Parameters:
Name | Type | Description |
---|---|---|
roleId |
||
permissions |
||
permissionId |
||
isAdd |
Properties:
Name | Type | Description |
---|---|---|
type |
string | CHECK_OR_UNCHECK_PERMISSION |
# static clearPermissionsForRole(roleId)
Parameters:
Name | Type | Description |
---|---|---|
roleId |
Properties:
Name | Type | Description |
---|---|---|
type |
string | CLEAR_PERMISSIONS_FOR_ROLE |
# static selectAllPermissions(roleId)
Parameters:
Name | Type | Description |
---|---|---|
roleId |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SELECT_ALL_PERMISSIONS |
# static setEditedPermissions(roleId, editedRolePermissions)
Parameters:
Name | Type | Description |
---|---|---|
roleId |
||
editedRolePermissions |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SET_EDITED_PERMISSIONS |
# static showCheckActions(target, row)
Parameters:
Name | Type | Description |
---|---|---|
target |
||
row |
Properties:
Name | Type | Description |
---|---|---|
type |
string | SHOW_CHECK_ACTIONS |