class RoleController extends Controller

Class RoleController defines routes for role

Methods

array
manageUserRolesAction(ArrayCollection $roleDisplayAll)

Backend route for managing roles

JsonResponse
roleAddShowAction(ArrayCollection $roleAddNewGetTree)

API route for generating role tree for adding new role

JsonResponse
addRoleAction(ArrayCollection $roleAddJSON)

API route for adding new role

JsonResponse
deleteRoleAction(ArrayCollection $roleDeleteJSON)

API route for deleting roles

JsonResponse
editRoleAction(ArrayCollection $roleEditJSON)

API route for editing role

array
manageRolePermissionsForRoutesAction(ArrayCollection $rolePermissionsForRoute)

Backend route for managing roles

JsonResponse
editRoleRoutePermissionsAction(ArrayCollection $roleEditRoutePermissionsJSON)

API route for editing role permissions

JsonResponse
roleRoutePermissionsJQGRIDAction(ArrayCollection $rolePermissionsJQGRID)

API route for loading route permissions

Details

at line 42
array manageUserRolesAction(ArrayCollection $roleDisplayAll)

Backend route for managing roles

Parameters

ArrayCollection $roleDisplayAll

Return Value

array

at line 60
JsonResponse roleAddShowAction(ArrayCollection $roleAddNewGetTree)

API route for generating role tree for adding new role

Parameters

ArrayCollection $roleAddNewGetTree

Return Value

JsonResponse

See also

RoleAddNewGetTreeConverter

at line 75
JsonResponse addRoleAction(ArrayCollection $roleAddJSON)

API route for adding new role

Parameters

ArrayCollection $roleAddJSON

Return Value

JsonResponse

See also

RoleAddJSONConverter

at line 90
JsonResponse deleteRoleAction(ArrayCollection $roleDeleteJSON)

API route for deleting roles

Parameters

ArrayCollection $roleDeleteJSON

Return Value

JsonResponse

See also

RoleDeleteJSONConverter

at line 105
JsonResponse editRoleAction(ArrayCollection $roleEditJSON)

API route for editing role

Parameters

ArrayCollection $roleEditJSON

Return Value

JsonResponse

See also

RoleEditJSONConverter

at line 122
array manageRolePermissionsForRoutesAction(ArrayCollection $rolePermissionsForRoute)

Backend route for managing roles

Parameters

ArrayCollection $rolePermissionsForRoute

Return Value

array

See also

RolePermissionsForRouteConverter

at line 137
JsonResponse editRoleRoutePermissionsAction(ArrayCollection $roleEditRoutePermissionsJSON)

API route for editing role permissions

Parameters

ArrayCollection $roleEditRoutePermissionsJSON

Return Value

JsonResponse

See also

RoleEditRoutePermissionsJSONConverter

at line 152
JsonResponse roleRoutePermissionsJQGRIDAction(ArrayCollection $rolePermissionsJQGRID)

API route for loading route permissions

Parameters

ArrayCollection $rolePermissionsJQGRID

Return Value

JsonResponse

See also

RolePermissionsJQGRIDConverter