Module

roles

Methods

# static addNew(name, principals)

Parameters:
Name Type Description
name
principals
Properties:
Name Type Description
type string

ADD_NEW

View Source user-management/roles-actions.js, line 30

# static close()

Properties:
Name Type Description
type string

CLOSE

View Source user-management/roles-actions.js, line 36

# static delete(id)

Parameters:
Name Type Description
id
Properties:
Name Type Description
type string

DELETE

View Source user-management/roles-actions.js, line 43

# static hideModal()

Properties:
Name Type Description
type string

HIDE_MODAL

View Source user-management/roles-actions.js, line 49

# static openAddEditRoleModal(id, isNewRole)

Parameters:
Name Type Description
id
isNewRole
Properties:
Name Type Description
type string

OPEN_ADD_EDIT_ROLE_MODAL

View Source user-management/roles-actions.js, line 57

# static refreshRoleList()

Properties:
Name Type Description
type string

REFRESH_ROLE_LIST

View Source user-management/roles-actions.js, line 63

# static saveRole(roleData)

Parameters:
Name Type Description
roleData
Properties:
Name Type Description
type string

SAVE_ROLE

View Source user-management/roles-actions.js, line 70

# static setDisableSave(disableSave)

Parameters:
Name Type Description
disableSave
Properties:
Name Type Description
type string

SET_DISABLE_SAVE

View Source user-management/roles-actions.js, line 82

# static setError(property, error)

Parameters:
Name Type Description
property
error
Properties:
Name Type Description
type string

SET_ERROR

View Source user-management/roles-actions.js, line 89

# static setLastUpdated()

Properties:
Name Type Description
type string

SET_LAST_UPDATED

View Source user-management/roles-actions.js, line 94

# static setPristinity(pristine)

Parameters:
Name Type Description
pristine
Properties:
Name Type Description
type string

SET_PRISTINITY

View Source user-management/roles-actions.js, line 100

# static setRoleModalName(name)

Parameters:
Name Type Description
name
Properties:
Name Type Description
type string

SET_ROLE_MODAL_NAME

View Source user-management/roles-actions.js, line 106

# static setRoleModalPrincipals(principals)

Parameters:
Name Type Description
principals
Properties:
Name Type Description
type string

SET_ROLE_MODAL_PRINCIPALS

View Source user-management/roles-actions.js, line 112

# static showModal(data)

Parameters:
Name Type Description
data
Properties:
Name Type Description
type string

SHOW_MODAL

View Source user-management/roles-actions.js, line 119

# static update(id, name, principals)

Parameters:
Name Type Description
id
name
principals
Properties:
Name Type Description
type string

UPDATE

View Source user-management/roles-actions.js, line 128

# static updateRoleModalName(name)

Parameters:
Name Type Description
name
Properties:
Name Type Description
type string

UPDATE_ROLE_NAME

View Source user-management/roles-actions.js, line 136

# static updateRoleModalPrincipals(principals)

Parameters:
Name Type Description
principals
Properties:
Name Type Description
type string

UPDATE_ROLE_PRINCIPALS

View Source user-management/roles-actions.js, line 142