@tinycloud/node-sdk 3.1.0-beta.8 → 3.1.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.cjs +3 -0
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +4 -0
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -17201,6 +17201,7 @@ import {
|
|
|
17201
17201
|
recapCaveatsEqual,
|
|
17202
17202
|
expandPermissionEntries as expandPermissionEntriesCore,
|
|
17203
17203
|
isCapabilitySubset,
|
|
17204
|
+
isExplicitOnlyAction,
|
|
17204
17205
|
parseRecapCapabilities,
|
|
17205
17206
|
SERVICE_LONG_TO_SHORT,
|
|
17206
17207
|
SERVICE_SHORT_TO_LONG,
|
|
@@ -24052,6 +24053,9 @@ var _TinyCloudNode = class _TinyCloudNode {
|
|
|
24052
24053
|
if (grantedAction === requestedAction) {
|
|
24053
24054
|
return true;
|
|
24054
24055
|
}
|
|
24056
|
+
if (isExplicitOnlyAction(requestedAction)) {
|
|
24057
|
+
return false;
|
|
24058
|
+
}
|
|
24055
24059
|
if (grantedAction.endsWith("/*")) {
|
|
24056
24060
|
const prefix = grantedAction.slice(0, -2);
|
|
24057
24061
|
return requestedAction.startsWith(`${prefix}/`);
|