@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.js CHANGED
@@ -1717,6 +1717,7 @@ import {
1717
1717
  recapCaveatsEqual,
1718
1718
  expandPermissionEntries as expandPermissionEntriesCore,
1719
1719
  isCapabilitySubset,
1720
+ isExplicitOnlyAction,
1720
1721
  parseRecapCapabilities,
1721
1722
  SERVICE_LONG_TO_SHORT,
1722
1723
  SERVICE_SHORT_TO_LONG,
@@ -7038,6 +7039,9 @@ var _TinyCloudNode = class _TinyCloudNode {
7038
7039
  if (grantedAction === requestedAction) {
7039
7040
  return true;
7040
7041
  }
7042
+ if (isExplicitOnlyAction(requestedAction)) {
7043
+ return false;
7044
+ }
7041
7045
  if (grantedAction.endsWith("/*")) {
7042
7046
  const prefix = grantedAction.slice(0, -2);
7043
7047
  return requestedAction.startsWith(`${prefix}/`);