mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 03:45:10 +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) {
|
for (const action of inspectActions) {
|
||||||
const actionCtx: any = {
|
const actionCtx: any = {
|
||||||
db: ctx.db,
|
db: ctx.db,
|
||||||
|
get: () => {
|
||||||
|
return undefined;
|
||||||
|
},
|
||||||
|
app: {
|
||||||
|
getDb() {
|
||||||
|
return ctx.db;
|
||||||
|
},
|
||||||
|
},
|
||||||
action: {
|
action: {
|
||||||
actionName: action,
|
actionName: action,
|
||||||
name: action,
|
name: action,
|
||||||
|
Loading…
Reference in New Issue
Block a user