mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 01:36:27 +00:00
chore: test
This commit is contained in:
parent
b2e4b6a7cd
commit
b6f46a16e4
@ -676,6 +676,14 @@ export class PluginACL extends Plugin {
|
||||
for (const action of inspectActions) {
|
||||
const actionCtx: any = {
|
||||
db: ctx.db,
|
||||
get: () => {
|
||||
return undefined;
|
||||
},
|
||||
app: {
|
||||
getDb() {
|
||||
return ctx.db;
|
||||
},
|
||||
},
|
||||
action: {
|
||||
actionName: action,
|
||||
name: action,
|
||||
|
Loading…
Reference in New Issue
Block a user