feat: anonymous role

This commit is contained in:
chenos 2022-04-08 16:17:39 +08:00
parent adea10a4d8
commit ab633af627

View File

@ -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',
},
],
});
});