Fixed permissions list sorting across app. Fixed inv edit breadcrumb

This commit is contained in:
Michael Abashian
2017-01-31 10:10:38 -05:00
parent 25fed36dc0
commit 1ac047c302
12 changed files with 34 additions and 146 deletions

View File

@@ -171,6 +171,7 @@ export default
//hideOnSuperuser: true // RBAC defunct
},
permissions: {
name: 'permissions',
basePath: 'api/v1/users/{{$stateParams.user_id}}/roles/',
search: {
page_size: '10',
@@ -190,17 +191,17 @@ export default
label: i18n._('Name'),
ngBind: 'permission.summary_fields.resource_name',
linkTo: '{{convertApiUrl(permission.related[permission.summary_fields.resource_type])}}',
noSort: true
nosort: true
},
type: {
label: i18n._('Type'),
ngBind: 'permission.summary_fields.resource_type_display_name',
noSort: true
nosort: true
},
role: {
label: i18n._('Role'),
ngBind: 'permission.name',
noSort: true
nosort: true
},
},
actions: {