@nocobase/acl
Advanced tools
Comparing version 0.7.4-alpha.7 to 0.7.5-alpha.1
@@ -51,3 +51,3 @@ /// <reference types="node" /> | ||
isConfigResource(name: string): boolean; | ||
setAvailableAction(name: string, options: AvailableActionOptions): void; | ||
setAvailableAction(name: string, options?: AvailableActionOptions): void; | ||
getAvailableAction(name: string): AclAvailableAction; | ||
@@ -54,0 +54,0 @@ getAvailableActions(): Map<string, AclAvailableAction>; |
@@ -160,3 +160,3 @@ "use strict"; | ||
setAvailableAction(name, options) { | ||
setAvailableAction(name, options = {}) { | ||
this.availableActions.set(name, new _aclAvailableAction.AclAvailableAction(name, options)); | ||
@@ -163,0 +163,0 @@ |
{ | ||
"name": "@nocobase/acl", | ||
"version": "0.7.4-alpha.7", | ||
"version": "0.7.5-alpha.1", | ||
"description": "", | ||
@@ -15,3 +15,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@nocobase/resourcer": "0.7.4-alpha.7", | ||
"@nocobase/resourcer": "0.7.5-alpha.1", | ||
"json-templates": "^4.2.0" | ||
@@ -24,3 +24,3 @@ }, | ||
}, | ||
"gitHead": "77f22e6da464d19be111835316faf4b94cd80413" | ||
"gitHead": "f6eb27b68185bb0c0b4c2cfca1df84205a9b9173" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52931
+ Added@babel/runtime@7.26.0(transitive)
+ Added@nocobase/resourcer@0.7.5-alpha.1(transitive)
+ Added@nocobase/utils@0.7.5-alpha.1(transitive)
+ Added@rc-component/mini-decimal@1.1.0(transitive)
+ Addedclassnames@2.5.1(transitive)
+ Addedflat-to-nested@1.1.1(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedrc-input-number@7.4.2(transitive)
+ Addedrc-util@5.44.2(transitive)
+ Addedreact@19.0.0(transitive)
+ Addedreact-dom@19.0.0(transitive)
+ Addedreact-is@18.3.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedscheduler@0.25.0(transitive)
- Removed@nocobase/resourcer@0.7.4-alpha.7(transitive)