camstack 0.8.0 → 0.8.6
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/cli.js +5 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -667,10 +667,11 @@ async function loginCommand(opts) {
|
|
|
667
667
|
mintSpinner.start("Creating scoped token (upload + log streaming)");
|
|
668
668
|
const tokenName = opts.tokenName ?? `camstack-cli@${os2.hostname()}`;
|
|
669
669
|
const scopes = [
|
|
670
|
-
{
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
670
|
+
{
|
|
671
|
+
type: "capability",
|
|
672
|
+
target: "addons",
|
|
673
|
+
access: ["view", "create"]
|
|
674
|
+
}
|
|
674
675
|
];
|
|
675
676
|
const created = await callTrpcMutation(
|
|
676
677
|
`${server}/trpc/userManagement.createScopedToken?batch=1`,
|