mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 16:36:56 +00:00
bd285e0ba9
* feat: getRepository * getRepository return type * export action * add: acl * feat: setResourceAction * feat: action alias * chore: code struct * feat: removeResourceAction * chore: file name * ignorecase * remove ACL * feat: ACL * feat: role toJSON * using emit * chore: test * feat: plugin-acl * feat: acl with predicate * grant universal action test * grant action test * update resource action test * revoke resource action * usingActionsConfig switch * plugin-ui-schema-storage * remove global acl instance * fix: collection manager with sqlite * add own action listener * add acl middleware * add acl allowConfigure strategy option * add plugin-acl allowConfigure * change acl resourceName * add acl middleware merge params * bugfix * append fields on acl action params * acl middleware parse template * fix: collection-manager migrate Co-authored-by: chenos <chenlinxh@gmail.com>
22 lines
601 B
JSON
22 lines
601 B
JSON
{
|
|
"name": "@nocobase/plugin-acl",
|
|
"version": "0.6.0-alpha.0",
|
|
"description": "",
|
|
"license": "MIT",
|
|
"main": "./lib/index.js",
|
|
"types": "./lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "rimraf -rf lib esm dist && npm run build:cjs && npm run build:esm",
|
|
"build:cjs": "tsc --project tsconfig.build.json",
|
|
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
|
|
},
|
|
"dependencies": {
|
|
"json-templates": "^4.2.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
"directory": "packages/plugin-acl"
|
|
}
|
|
}
|