fix(acl): unable to associate users
This commit is contained in:
parent
7e32842a6d
commit
df153527a7
@ -10,10 +10,10 @@ import { checkAction } from './actions/role-check';
|
|||||||
import { roleCollectionsResource } from './actions/role-collections';
|
import { roleCollectionsResource } from './actions/role-collections';
|
||||||
import { setDefaultRole } from './actions/user-setDefaultRole';
|
import { setDefaultRole } from './actions/user-setDefaultRole';
|
||||||
import { setCurrentRole } from './middlewares/setCurrentRole';
|
import { setCurrentRole } from './middlewares/setCurrentRole';
|
||||||
|
import { createWithACLMetaMiddleware } from './middlewares/with-acl-meta';
|
||||||
import { RoleModel } from './model/RoleModel';
|
import { RoleModel } from './model/RoleModel';
|
||||||
import { RoleResourceActionModel } from './model/RoleResourceActionModel';
|
import { RoleResourceActionModel } from './model/RoleResourceActionModel';
|
||||||
import { RoleResourceModel } from './model/RoleResourceModel';
|
import { RoleResourceModel } from './model/RoleResourceModel';
|
||||||
import { createWithACLMetaMiddleware } from './middlewares/with-acl-meta';
|
|
||||||
|
|
||||||
export interface AssociationFieldAction {
|
export interface AssociationFieldAction {
|
||||||
associationActions: string[];
|
associationActions: string[];
|
||||||
@ -179,6 +179,7 @@ export class PluginACL extends Plugin {
|
|||||||
'roles.resources:*',
|
'roles.resources:*',
|
||||||
'uiSchemas:getProperties',
|
'uiSchemas:getProperties',
|
||||||
'roles.menuUiSchemas:*',
|
'roles.menuUiSchemas:*',
|
||||||
|
'roles.users:*',
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user