feat: anonymous role
This commit is contained in:
parent
adea10a4d8
commit
ab633af627
@ -1,9 +1,8 @@
|
||||
import { Plugin } from '@nocobase/server';
|
||||
import { resolve } from 'path';
|
||||
import { availableActionResource } from './actions/available-actions';
|
||||
import { roleCollectionsResource } from './actions/role-collections';
|
||||
import { checkAction } from './actions/role-check';
|
||||
|
||||
import { roleCollectionsResource } from './actions/role-collections';
|
||||
import { RoleModel } from './model/RoleModel';
|
||||
import { RoleResourceActionModel } from './model/RoleResourceActionModel';
|
||||
import { RoleResourceModel } from './model/RoleResourceModel';
|
||||
@ -258,6 +257,10 @@ export class PluginACL extends Plugin {
|
||||
title: 'Member',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
name: 'anonymous',
|
||||
title: 'Anonymous',
|
||||
},
|
||||
],
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user