@kortix/sdk 0.16.5 → 0.16.7
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/README.md +15 -0
- package/dist/browser/session-sync/session-sync-registry.d.ts.map +1 -1
- package/dist/browser/session-sync/session-sync-registry.js +3 -6
- package/dist/browser/session-sync/session-sync-registry.js.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.d.ts.map +1 -1
- package/dist/browser/stores/sandbox-connection-store.js +21 -41
- package/dist/browser/stores/sandbox-connection-store.js.map +1 -1
- package/dist/browser/stores/sync-store/binary.d.ts +2 -0
- package/dist/browser/stores/sync-store/binary.d.ts.map +1 -1
- package/dist/browser/stores/sync-store/binary.js +4 -0
- package/dist/browser/stores/sync-store/binary.js.map +1 -1
- package/dist/browser/stores/sync-store/reconcile-parts.js +2 -2
- package/dist/browser/stores/sync-store/reconcile-parts.js.map +1 -1
- package/dist/browser/stores/sync-store/types.d.ts +2 -5
- package/dist/browser/stores/sync-store/types.d.ts.map +1 -1
- package/dist/core/client/kortix.d.ts +8 -0
- package/dist/core/client/kortix.d.ts.map +1 -1
- package/dist/core/client/project-core.d.ts.map +1 -1
- package/dist/core/client/project-operations-admin.d.ts +4 -0
- package/dist/core/client/project-operations-admin.d.ts.map +1 -1
- package/dist/core/client/project-operations-review.d.ts +6 -0
- package/dist/core/client/project-operations-review.d.ts.map +1 -1
- package/dist/core/client/project-operations-review.js +6 -0
- package/dist/core/client/project-operations-review.js.map +1 -1
- package/dist/core/client/project-operations-workspace.d.ts +4 -0
- package/dist/core/client/project-operations-workspace.d.ts.map +1 -1
- package/dist/core/client/project-operations.d.ts +4 -0
- package/dist/core/client/project-operations.d.ts.map +1 -1
- package/dist/core/http/abort-error.js +1 -1
- package/dist/core/http/abort-error.js.map +1 -1
- package/dist/core/http/request.d.ts.map +1 -1
- package/dist/core/http/request.js +1 -3
- package/dist/core/http/request.js.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.d.ts +4 -2
- package/dist/core/rest/projects-client/account-secret-resources.d.ts.map +1 -1
- package/dist/core/rest/projects-client/account-secret-resources.js.map +1 -1
- package/dist/core/rest/projects-client/admin-providers.d.ts +12 -0
- package/dist/core/rest/projects-client/admin-providers.d.ts.map +1 -1
- package/dist/core/rest/projects-client/admin-providers.js.map +1 -1
- package/dist/core/rest/projects-client/agent-directory.d.ts +37 -0
- package/dist/core/rest/projects-client/agent-directory.d.ts.map +1 -0
- package/dist/core/rest/projects-client/agent-directory.js +29 -0
- package/dist/core/rest/projects-client/agent-directory.js.map +1 -0
- package/dist/core/rest/projects-client/asks.d.ts +2 -0
- package/dist/core/rest/projects-client/asks.d.ts.map +1 -1
- package/dist/core/rest/projects-client/asks.js.map +1 -1
- package/dist/core/rest/projects-client/iam-actions.d.ts +20 -120
- package/dist/core/rest/projects-client/iam-actions.d.ts.map +1 -1
- package/dist/core/rest/projects-client/iam-actions.js +13 -152
- package/dist/core/rest/projects-client/iam-actions.js.map +1 -1
- package/dist/core/rest/projects-client/index.d.ts +1 -0
- package/dist/core/rest/projects-client/index.d.ts.map +1 -1
- package/dist/core/rest/projects-client/index.js +1 -0
- package/dist/core/rest/projects-client/index.js.map +1 -1
- package/dist/core/rest/projects-client/projects.d.ts +7 -1
- package/dist/core/rest/projects-client/projects.d.ts.map +1 -1
- package/dist/core/rest/projects-client/projects.js +3 -0
- package/dist/core/rest/projects-client/projects.js.map +1 -1
- package/dist/core/rest/projects-client/session-costs.d.ts +43 -0
- package/dist/core/rest/projects-client/session-costs.d.ts.map +1 -1
- package/dist/core/rest/projects-client/session-costs.js +78 -0
- package/dist/core/rest/projects-client/session-costs.js.map +1 -1
- package/dist/core/rest/projects-client/spaces.d.ts +27 -0
- package/dist/core/rest/projects-client/spaces.d.ts.map +1 -1
- package/dist/core/rest/projects-client/spaces.js +7 -0
- package/dist/core/rest/projects-client/spaces.js.map +1 -1
- package/dist/core/session-log/source.d.ts +14 -2
- package/dist/core/session-log/source.d.ts.map +1 -1
- package/dist/core/session-log/source.js +37 -3
- package/dist/core/session-log/source.js.map +1 -1
- package/dist/core/session-log/store.d.ts.map +1 -1
- package/dist/core/session-log/store.js +12 -2
- package/dist/core/session-log/store.js.map +1 -1
- package/dist/core/session-log/sync-controller.d.ts +38 -0
- package/dist/core/session-log/sync-controller.d.ts.map +1 -0
- package/dist/core/session-log/sync-controller.js +275 -0
- package/dist/core/session-log/sync-controller.js.map +1 -0
- package/dist/core/turns/state.d.ts.map +1 -1
- package/dist/core/turns/state.js +22 -81
- package/dist/core/turns/state.js.map +1 -1
- package/dist/genui/catalog.d.ts +4 -3
- package/dist/genui/catalog.d.ts.map +1 -1
- package/dist/genui/catalog.js +1 -1
- package/dist/genui/catalog.js.map +1 -1
- package/dist/genui/fence.d.ts +0 -12
- package/dist/genui/fence.d.ts.map +1 -1
- package/dist/genui/fence.js +2 -2
- package/dist/genui/fence.js.map +1 -1
- package/dist/genui/react/default-components.d.ts.map +1 -1
- package/dist/genui/react/default-components.js +2 -1
- package/dist/genui/react/default-components.js.map +1 -1
- package/dist/genui/urls.d.ts +1 -0
- package/dist/genui/urls.d.ts.map +1 -1
- package/dist/genui/urls.js +1 -0
- package/dist/genui/urls.js.map +1 -1
- package/dist/iam-actions.d.ts +148 -0
- package/dist/iam-actions.d.ts.map +1 -0
- package/dist/iam-actions.js +203 -0
- package/dist/iam-actions.js.map +1 -0
- package/dist/kortix.esm.min.js +51 -49
- package/dist/kortix.global.js +52 -50
- package/dist/node/app-viewer.d.ts.map +1 -1
- package/dist/node/app-viewer.js +1 -14
- package/dist/node/app-viewer.js.map +1 -1
- package/dist/node/auth.d.ts.map +1 -1
- package/dist/node/auth.js +1 -14
- package/dist/node/auth.js.map +1 -1
- package/dist/node/b64url.d.ts +4 -0
- package/dist/node/b64url.d.ts.map +1 -0
- package/dist/node/b64url.js +16 -0
- package/dist/node/b64url.js.map +1 -0
- package/dist/react/index.d.ts +2 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +3 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/query-keys.d.ts +3 -0
- package/dist/react/query-keys.d.ts.map +1 -1
- package/dist/react/query-keys.js +3 -0
- package/dist/react/query-keys.js.map +1 -1
- package/dist/react/session-cache-write.d.ts.map +1 -1
- package/dist/react/session-cache-write.js +2 -0
- package/dist/react/session-cache-write.js.map +1 -1
- package/dist/react/sign-in-with-kortix.d.ts +1 -1
- package/dist/react/use-project-sessions.d.ts.map +1 -1
- package/dist/react/use-project-sessions.js +3 -2
- package/dist/react/use-project-sessions.js.map +1 -1
- package/dist/react/use-project-spaces.d.ts +6 -0
- package/dist/react/use-project-spaces.d.ts.map +1 -1
- package/dist/react/use-project-spaces.js +14 -1
- package/dist/react/use-project-spaces.js.map +1 -1
- package/dist/react/use-runtime-sessions/keys.d.ts +1 -4
- package/dist/react/use-runtime-sessions/keys.d.ts.map +1 -1
- package/dist/react/use-runtime-sessions/keys.js.map +1 -1
- package/dist/react/use-session-log.d.ts +3 -1
- package/dist/react/use-session-log.d.ts.map +1 -1
- package/dist/react/use-session-log.js +13 -261
- package/dist/react/use-session-log.js.map +1 -1
- package/dist/react/use-session-model-selection.d.ts +1 -0
- package/dist/react/use-session-model-selection.d.ts.map +1 -1
- package/dist/react/use-session-model-selection.js +2 -1
- package/dist/react/use-session-model-selection.js.map +1 -1
- package/dist/react/use-session-stream.d.ts.map +1 -1
- package/dist/react/use-session-stream.js +14 -42
- package/dist/react/use-session-stream.js.map +1 -1
- package/dist/react/use-session-sync.d.ts +1 -1
- package/dist/react/use-session.d.ts +1 -1
- package/dist/react/use-workspace-agent-directory.d.ts +15 -0
- package/dist/react/use-workspace-agent-directory.d.ts.map +1 -0
- package/dist/react/use-workspace-agent-directory.js +28 -0
- package/dist/react/use-workspace-agent-directory.js.map +1 -0
- package/package.json +6 -2
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
export const PROJECT_ACTIONS = {
|
|
2
|
+
PROJECT_READ: 'project.read',
|
|
3
|
+
PROJECT_WRITE: 'project.write',
|
|
4
|
+
/** Archiving the project (`DELETE /projects/:id`). Not implied by `project.write`. */
|
|
5
|
+
PROJECT_DELETE: 'project.delete',
|
|
6
|
+
// Change requests. Distinct from write so an agent can be granted
|
|
7
|
+
// "open a CR" WITHOUT "merge it to the base branch" — merge is the canonical
|
|
8
|
+
// destructive action (it lands code on main), and stays human/explicit.
|
|
9
|
+
PROJECT_SESSION_READ: 'project.session.read',
|
|
10
|
+
PROJECT_SESSION_START: 'project.session.start',
|
|
11
|
+
PROJECT_SESSION_STOP: 'project.session.stop',
|
|
12
|
+
PROJECT_SESSION_BINDINGS_WRITE: 'project.session.bindings.write',
|
|
13
|
+
PROJECT_MEMBERS_READ: 'project.members.read',
|
|
14
|
+
PROJECT_MEMBERS_MANAGE: 'project.members.manage',
|
|
15
|
+
PROJECT_TRIGGER_READ: 'project.trigger.read',
|
|
16
|
+
PROJECT_TRIGGER_CREATE: 'project.trigger.create',
|
|
17
|
+
PROJECT_TRIGGER_UPDATE: 'project.trigger.update',
|
|
18
|
+
PROJECT_TRIGGER_DELETE: 'project.trigger.delete',
|
|
19
|
+
PROJECT_TRIGGER_FIRE: 'project.trigger.fire',
|
|
20
|
+
PROJECT_GATEWAY_LOGS_READ: 'project.gateway.logs.read',
|
|
21
|
+
PROJECT_GATEWAY_SPEND_READ: 'project.gateway.spend.read',
|
|
22
|
+
PROJECT_USAGE_READ: 'project.usage.read',
|
|
23
|
+
PROJECT_GATEWAY_BUDGET_SET: 'project.gateway.budget.set',
|
|
24
|
+
PROJECT_GATEWAY_KEYS_MANAGE: 'project.gateway.keys.manage',
|
|
25
|
+
// ── Per-capability leaf actions (IAM v1) ────────────────────────────────
|
|
26
|
+
// Each project feature gets its own read/write leaf so a custom role can
|
|
27
|
+
// DEACTIVATE one capability (omit the leaf) without losing the rest. Until a
|
|
28
|
+
// route is migrated to assert these, it keeps gating on project.read/write,
|
|
29
|
+
// so adding them is additive: every write leaf is also seeded into the Manager
|
|
30
|
+
// built-in role and every read leaf into the User floor role (see
|
|
31
|
+
// role-perms.ts), so no existing manager/user loses a capability. All resolve to 'project' scope
|
|
32
|
+
// (prefix = 'project') via resourceTypeForAction.
|
|
33
|
+
PROJECT_AGENT_READ: 'project.agent.read',
|
|
34
|
+
PROJECT_AGENT_WRITE: 'project.agent.write',
|
|
35
|
+
PROJECT_SKILL_READ: 'project.skill.read',
|
|
36
|
+
PROJECT_SKILL_WRITE: 'project.skill.write',
|
|
37
|
+
PROJECT_COMMAND_READ: 'project.command.read',
|
|
38
|
+
// No API route writes a command: a command is a repository file, changed by
|
|
39
|
+
// a git push (project.gitops.push). This leaf gates the web Edit control and
|
|
40
|
+
// stays a valid name in kortix.yaml `kortix_permissions` lists.
|
|
41
|
+
PROJECT_COMMAND_WRITE: 'project.command.write',
|
|
42
|
+
PROJECT_FILE_READ: 'project.file.read',
|
|
43
|
+
PROJECT_FILE_WRITE: 'project.file.write',
|
|
44
|
+
// Project settings: name, description, icon, sandbox provider, feature
|
|
45
|
+
// flags, the connected repository.
|
|
46
|
+
/** Project settings: name, branch, manifest path, icon, sandbox provider, feature flags. */
|
|
47
|
+
PROJECT_SETTINGS_WRITE: 'project.settings.write',
|
|
48
|
+
// The project's sandbox environment: templates and snapshot rebuilds.
|
|
49
|
+
PROJECT_SANDBOX_WRITE: 'project.sandbox.write',
|
|
50
|
+
// Which models the project may use, its defaults, and gateway routing.
|
|
51
|
+
PROJECT_MODEL_READ: 'project.model.read',
|
|
52
|
+
PROJECT_MODEL_WRITE: 'project.model.write',
|
|
53
|
+
PROJECT_GITOPS_READ: 'project.gitops.read',
|
|
54
|
+
/** Opening a change request, and every push. */
|
|
55
|
+
PROJECT_GITOPS_PUSH: 'project.gitops.push',
|
|
56
|
+
/** Merging a change request into the base branch. */
|
|
57
|
+
PROJECT_GITOPS_MERGE: 'project.gitops.merge',
|
|
58
|
+
// Ref-level push authority, on top of `project.gitops.push`. The git proxy
|
|
59
|
+
// scopes a SESSION credential to its own branch structurally — that binding
|
|
60
|
+
// is the credential's identity, not a permission, and is never grantable.
|
|
61
|
+
// These two leaves are what a principal needs to act OUTSIDE that lane, and
|
|
62
|
+
// they are what a role or a `kortix_permissions` grant can hand to an agent
|
|
63
|
+
// deliberately. Absent = denied: unlike the rest of the agent-grant fold, the
|
|
64
|
+
// git path treats a null grant as "principal defaults", never "unrestricted".
|
|
65
|
+
// See git-proxy/ref-policy.ts.
|
|
66
|
+
PROJECT_GITOPS_REF_ANY: 'project.gitops.ref.any',
|
|
67
|
+
PROJECT_GITOPS_REF_DELETE: 'project.gitops.ref.delete',
|
|
68
|
+
PROJECT_SECRET_READ: 'project.secret.read',
|
|
69
|
+
PROJECT_SECRET_WRITE: 'project.secret.write',
|
|
70
|
+
PROJECT_CONNECTOR_READ: 'project.connector.read',
|
|
71
|
+
PROJECT_CONNECTOR_CONNECTIONS_MANAGE: 'project.connector.connections.manage',
|
|
72
|
+
PROJECT_CONNECTOR_WRITE: 'project.connector.write',
|
|
73
|
+
// Kortix Apps, every kind. Apps used to borrow project.customize.write /
|
|
74
|
+
// project.gitops.read, so a custom role could not grant or revoke Apps on its
|
|
75
|
+
// own. These are the real leaves. `read` = list and inspect the Apps the
|
|
76
|
+
// caller may see, connect, mint a member token. `write` = create, rename,
|
|
77
|
+
// resize, delete an App, read and set the access policy. `deploy` = ship a
|
|
78
|
+
// version, roll back, start, or stop, and read the operations view
|
|
79
|
+
// (deployments, events, runtime logs, machines, volumes, snapshots) — the
|
|
80
|
+
// action that changes what the public hostname serves, so it stays separable
|
|
81
|
+
// from write exactly as project.gitops.merge is separable from
|
|
82
|
+
// project.gitops.push. `admin` = the App-administration leaf; no route
|
|
83
|
+
// requires it today.
|
|
84
|
+
PROJECT_APP_READ: 'project.app.read',
|
|
85
|
+
PROJECT_APP_WRITE: 'project.app.write',
|
|
86
|
+
PROJECT_APP_DEPLOY: 'project.app.deploy',
|
|
87
|
+
PROJECT_APP_ADMIN: 'project.app.admin',
|
|
88
|
+
// Review Center. `read` = see the inbox (floor user). `submit` = an agent puts
|
|
89
|
+
// an output / decision / batch up for human review (floor user + their agent).
|
|
90
|
+
// `act` = approve / reject / request-changes / answer — a consequential
|
|
91
|
+
// decision on agent work, so it sits with the manager tier (like gitops).
|
|
92
|
+
PROJECT_REVIEW_READ: 'project.review.read',
|
|
93
|
+
PROJECT_REVIEW_SUBMIT: 'project.review.submit',
|
|
94
|
+
/** A verdict on a review item: approve, reject, request changes, answer. */
|
|
95
|
+
PROJECT_REVIEW_ACT: 'project.review.act',
|
|
96
|
+
// Artifacts: Files folders shared as docs and pages.
|
|
97
|
+
// `read` = the gallery, open an artifact, its versions and files. `write` =
|
|
98
|
+
// publish, share a folder, save, restore, and rename / share / unshare your
|
|
99
|
+
// own. `manage` = change how anyone's artifact is shared. `public` = give an
|
|
100
|
+
// artifact a public link: the one outward step, so a custom role or an
|
|
101
|
+
// agent's `kortix_permissions` can withhold it on its own.
|
|
102
|
+
PROJECT_ARTIFACT_READ: 'project.artifact.read',
|
|
103
|
+
PROJECT_ARTIFACT_WRITE: 'project.artifact.write',
|
|
104
|
+
PROJECT_ARTIFACT_MANAGE: 'project.artifact.manage',
|
|
105
|
+
PROJECT_ARTIFACT_PUBLIC: 'project.artifact.public',
|
|
106
|
+
// Issuing a project credential — a project CLI token (`POST|DELETE
|
|
107
|
+
// /projects/:id/cli-token`) or a project-scoped PAT (`POST /accounts/tokens`
|
|
108
|
+
// with a project_id). Its own leaf because a credential OUTLIVES the request
|
|
109
|
+
// that minted it: until now these routes gated on the coarse `manage` alias,
|
|
110
|
+
// which mapped to project.write, so anyone who could edit the project could
|
|
111
|
+
// mint a long-lived token for it (routes.md §5.2). Seeded into Manager only.
|
|
112
|
+
/** Minting a project CLI token or a project-scoped PAT. */
|
|
113
|
+
PROJECT_CREDENTIALS_ISSUE: 'project.credentials.issue',
|
|
114
|
+
};
|
|
115
|
+
export const WORKSPACE_ACTION_BY_LEGACY = {
|
|
116
|
+
// ── account-scoped (31) ────────────────────────────────────────────────
|
|
117
|
+
'account.read': 'workspace.account.read',
|
|
118
|
+
'account.write': 'workspace.account.write',
|
|
119
|
+
'account.delete': 'workspace.account.delete',
|
|
120
|
+
'billing.read': 'workspace.billing.read',
|
|
121
|
+
'billing.write': 'workspace.billing.write',
|
|
122
|
+
'audit.read': 'workspace.audit.read',
|
|
123
|
+
'member.read': 'workspace.member.read',
|
|
124
|
+
'member.invite': 'workspace.member.invite',
|
|
125
|
+
'member.update': 'workspace.member.update',
|
|
126
|
+
'member.remove': 'workspace.member.remove',
|
|
127
|
+
'member.super_admin.grant': 'workspace.member.super_admin.grant',
|
|
128
|
+
'group.read': 'workspace.group.read',
|
|
129
|
+
'group.create': 'workspace.group.create',
|
|
130
|
+
'group.update': 'workspace.group.update',
|
|
131
|
+
'group.delete': 'workspace.group.delete',
|
|
132
|
+
'group.members.manage': 'workspace.group.members.manage',
|
|
133
|
+
'policy.read': 'workspace.policy.read',
|
|
134
|
+
'policy.create': 'workspace.policy.create',
|
|
135
|
+
'policy.delete': 'workspace.policy.delete',
|
|
136
|
+
'role.read': 'workspace.role.read',
|
|
137
|
+
'role.create': 'workspace.role.create',
|
|
138
|
+
'role.update': 'workspace.role.update',
|
|
139
|
+
'role.delete': 'workspace.role.delete',
|
|
140
|
+
'token.read': 'workspace.token.read',
|
|
141
|
+
'token.create': 'workspace.token.create',
|
|
142
|
+
'token.revoke': 'workspace.token.revoke',
|
|
143
|
+
'token.personal.create': 'workspace.token.personal.create',
|
|
144
|
+
'token.personal.revoke': 'workspace.token.personal.revoke',
|
|
145
|
+
'project.create': 'workspace.create',
|
|
146
|
+
'capture.read_all': 'workspace.capture.read_all',
|
|
147
|
+
'capture.manage': 'workspace.capture.manage',
|
|
148
|
+
// ── project-scoped (54) ────────────────────────────────────────────────
|
|
149
|
+
'project.read': 'workspace.read',
|
|
150
|
+
'project.write': 'workspace.write',
|
|
151
|
+
'project.delete': 'workspace.delete',
|
|
152
|
+
'project.session.read': 'workspace.session.read',
|
|
153
|
+
'project.session.start': 'workspace.session.start',
|
|
154
|
+
'project.session.stop': 'workspace.session.stop',
|
|
155
|
+
'project.session.bindings.write': 'workspace.session.bindings.write',
|
|
156
|
+
'project.members.read': 'workspace.members.read',
|
|
157
|
+
'project.members.manage': 'workspace.members.manage',
|
|
158
|
+
'project.trigger.read': 'workspace.trigger.read',
|
|
159
|
+
'project.trigger.create': 'workspace.trigger.create',
|
|
160
|
+
'project.trigger.update': 'workspace.trigger.update',
|
|
161
|
+
'project.trigger.delete': 'workspace.trigger.delete',
|
|
162
|
+
'project.trigger.fire': 'workspace.trigger.fire',
|
|
163
|
+
'project.gateway.logs.read': 'workspace.gateway.logs.read',
|
|
164
|
+
'project.gateway.spend.read': 'workspace.gateway.spend.read',
|
|
165
|
+
'project.usage.read': 'workspace.usage.read',
|
|
166
|
+
'project.gateway.budget.set': 'workspace.gateway.budget.set',
|
|
167
|
+
'project.gateway.keys.manage': 'workspace.gateway.keys.manage',
|
|
168
|
+
'project.agent.read': 'workspace.agent.read',
|
|
169
|
+
'project.agent.write': 'workspace.agent.write',
|
|
170
|
+
'project.skill.read': 'workspace.skill.read',
|
|
171
|
+
'project.skill.write': 'workspace.skill.write',
|
|
172
|
+
'project.command.read': 'workspace.command.read',
|
|
173
|
+
'project.command.write': 'workspace.command.write',
|
|
174
|
+
'project.file.read': 'workspace.file.read',
|
|
175
|
+
'project.file.write': 'workspace.file.write',
|
|
176
|
+
'project.settings.write': 'workspace.settings.write',
|
|
177
|
+
'project.sandbox.write': 'workspace.sandbox.write',
|
|
178
|
+
'project.model.read': 'workspace.model.read',
|
|
179
|
+
'project.model.write': 'workspace.model.write',
|
|
180
|
+
'project.gitops.read': 'workspace.gitops.read',
|
|
181
|
+
'project.gitops.push': 'workspace.gitops.push',
|
|
182
|
+
'project.gitops.merge': 'workspace.gitops.merge',
|
|
183
|
+
'project.gitops.ref.any': 'workspace.gitops.ref.any',
|
|
184
|
+
'project.gitops.ref.delete': 'workspace.gitops.ref.delete',
|
|
185
|
+
'project.secret.read': 'workspace.secret.read',
|
|
186
|
+
'project.secret.write': 'workspace.secret.write',
|
|
187
|
+
'project.connector.read': 'workspace.connector.read',
|
|
188
|
+
'project.connector.connections.manage': 'workspace.connector.connections.manage',
|
|
189
|
+
'project.connector.write': 'workspace.connector.write',
|
|
190
|
+
'project.app.read': 'workspace.app.read',
|
|
191
|
+
'project.app.write': 'workspace.app.write',
|
|
192
|
+
'project.app.deploy': 'workspace.app.deploy',
|
|
193
|
+
'project.app.admin': 'workspace.app.admin',
|
|
194
|
+
'project.review.read': 'workspace.review.read',
|
|
195
|
+
'project.review.submit': 'workspace.review.submit',
|
|
196
|
+
'project.review.act': 'workspace.review.act',
|
|
197
|
+
'project.artifact.read': 'workspace.artifact.read',
|
|
198
|
+
'project.artifact.write': 'workspace.artifact.write',
|
|
199
|
+
'project.artifact.manage': 'workspace.artifact.manage',
|
|
200
|
+
'project.artifact.public': 'workspace.artifact.public',
|
|
201
|
+
'project.credentials.issue': 'workspace.credentials.issue',
|
|
202
|
+
};
|
|
203
|
+
//# sourceMappingURL=iam-actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam-actions.js","sourceRoot":"","sources":["../src/iam-actions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,sFAAsF;IACtF,cAAc,EAAE,gBAAgB;IAChC,kEAAkE;IAClE,6EAA6E;IAC7E,wEAAwE;IAExE,oBAAoB,EAAE,sBAAsB;IAC5C,qBAAqB,EAAE,uBAAuB;IAC9C,oBAAoB,EAAE,sBAAsB;IAC5C,8BAA8B,EAAE,gCAAgC;IAEhE,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAEhD,oBAAoB,EAAE,sBAAsB;IAC5C,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IA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