zuplo 6.72.8 → 6.72.10
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/docs/articles/api-key-administration.mdx +14 -24
- package/docs/articles/api-key-consumer-bucket-portal-ui.mdx +27 -25
- package/docs/articles/api-key-end-users.mdx +4 -4
- package/docs/articles/api-key-self-serve-integration.mdx +4 -3
- package/docs/articles/audit-logs.mdx +7 -5
- package/docs/articles/monetization/api-access.mdx +1 -1
- package/docs/articles/monetization/developer-portal.md +3 -4
- package/docs/articles/monetization/going-to-production.mdx +5 -6
- package/docs/articles/monetization/quickstart.md +5 -6
- package/docs/articles/monetization/stripe-integration.md +8 -10
- package/docs/articles/step-3-add-api-key-auth-local.mdx +7 -6
- package/docs/articles/step-3-add-api-key-auth.mdx +2 -2
- package/docs/articles/step-5-dynamic-rate-limiting-local.mdx +2 -2
- package/docs/articles/step-5-dynamic-rate-limiting.mdx +5 -4
- package/docs/concepts/api-keys.md +2 -1
- package/docs/policies/mcp-capability-filter-inbound/doc.md +5 -3
- package/docs/policies/mcp-capability-filter-inbound/schema.json +5 -5
- package/package.json +4 -4
|
@@ -3,40 +3,30 @@ title: Manage Keys in the Portal
|
|
|
3
3
|
sidebar_label: Manage in the Portal
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
API Key Consumers
|
|
7
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
8
|
-
Zuplo Portal.
|
|
9
|
-
|
|
10
|
-
copy)
|
|
6
|
+
Manage API Key Consumers from the
|
|
7
|
+
[**Services**](https://portal.zuplo.com/+/account/project/services) tab in the
|
|
8
|
+
Zuplo Portal. Opening **Services** lands you on **API Keys → Consumers** in the
|
|
9
|
+
section sidebar. Each project has three API Key Buckets — one for production,
|
|
10
|
+
one shared by preview environments, and one for development (working copy)
|
|
11
|
+
environments.
|
|
11
12
|
|
|
12
|
-

|
|
13
|
+

|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
To view the bucket for a different environment, use the **Dev / Preview / Prod**
|
|
16
|
+
switcher at the top of the sidebar. The active bucket's name appears as a
|
|
17
|
+
copyable pill under the **API Key Service** heading.
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
To open the API Key Bucket for an environment, click the **Configure** button.
|
|
20
|
-
|
|
21
|
-

|
|
22
|
-
|
|
23
|
-
When you first open the API Key Bucket, you won't have any API Keys created.
|
|
24
|
-
|
|
25
|
-

|
|
26
|
-
|
|
27
|
-
To add a new API Key Consumer click the **Create Consumer** button and complete
|
|
28
|
-
the form.
|
|
19
|
+
To add a new API Key Consumer, click **Create Consumer** and complete the form.
|
|
29
20
|
|
|
30
21
|
<ModalScreenshot>
|
|
31
22
|
|
|
32
|
-

|
|
33
24
|
|
|
34
25
|
</ModalScreenshot>
|
|
35
26
|
|
|
36
|
-
Once a consumer is created,
|
|
37
|
-
icons shown.
|
|
27
|
+
Once a consumer is created, view or copy its API Key using the icons shown.
|
|
38
28
|
|
|
39
|
-

|
|
40
30
|
|
|
41
31
|
If you're using the Zuplo [Developer Portal](../dev-portal/introduction.mdx),
|
|
42
32
|
we've an integration with the API Key API that allows developers to access their
|
|
@@ -7,9 +7,11 @@ description:
|
|
|
7
7
|
troubleshooting.
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
Every API key consumer in Zuplo lives inside a **bucket
|
|
11
|
-
scoped to a specific environment
|
|
12
|
-
|
|
10
|
+
Every API key consumer in Zuplo lives inside a **bucket**. Each project's
|
|
11
|
+
default buckets are scoped to a specific environment, though custom buckets
|
|
12
|
+
created through the Developer API can be account-scoped instead. This guide
|
|
13
|
+
shows how to select the target environment's bucket on the **API Keys →
|
|
14
|
+
Consumers** page and create a consumer inside it.
|
|
13
15
|
|
|
14
16
|
:::note
|
|
15
17
|
|
|
@@ -57,33 +59,32 @@ For deeper detail, see [Buckets and Environments](./api-key-buckets.mdx).
|
|
|
57
59
|
1. Open your project in the [Zuplo Portal](https://portal.zuplo.com).
|
|
58
60
|
|
|
59
61
|
1. Navigate to the
|
|
60
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
62
|
+
[**Services**](https://portal.zuplo.com/+/account/project/services) tab. It
|
|
63
|
+
opens on **API Keys → Consumers** in the section sidebar.
|
|
61
64
|
|
|
62
|
-
1.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
1. Use the **Dev / Preview / Prod** switcher at the top of the sidebar to select
|
|
66
|
+
the environment whose bucket you want. The active bucket's name appears as a
|
|
67
|
+
copyable pill under the **API Key Service** heading.
|
|
65
68
|
|
|
66
69
|
</Stepper>
|
|
67
70
|
|
|
68
71
|
<ModalScreenshot size="md">
|
|
69
72
|
|
|
70
|
-

|
|
71
74
|
|
|
72
75
|
</ModalScreenshot>
|
|
73
76
|
|
|
74
|
-
The
|
|
75
|
-
active.
|
|
77
|
+
The pill under the **API Key Service** heading shows the name of the bucket
|
|
78
|
+
that's currently active for the selected environment.
|
|
76
79
|
|
|
77
80
|
## Create a consumer in a specific bucket
|
|
78
81
|
|
|
79
82
|
<Stepper>
|
|
80
83
|
|
|
81
|
-
1. On the **
|
|
84
|
+
1. On the **API Keys → Consumers** page, choose the target environment with the
|
|
85
|
+
**Dev / Preview / Prod** switcher.
|
|
82
86
|
|
|
83
|
-
1.
|
|
84
|
-
list opens.
|
|
85
|
-
|
|
86
|
-
1. Click **Create new consumer** and fill in the form below.
|
|
87
|
+
1. Click **Create Consumer** and fill in the form below.
|
|
87
88
|
|
|
88
89
|
1. Click **Save consumer**, then confirm it appears in the list.
|
|
89
90
|
|
|
@@ -175,8 +176,8 @@ target bucket name, and `$ZAPI_KEY` with your
|
|
|
175
176
|
Usually a bucket mismatch. The consumer is in one bucket, but the policy checks
|
|
176
177
|
a different one.
|
|
177
178
|
|
|
178
|
-
1. In the portal,
|
|
179
|
-
consumer.
|
|
179
|
+
1. In the portal, open **Services → API Keys → Consumers** and confirm which
|
|
180
|
+
bucket holds the consumer.
|
|
180
181
|
2. Open the route's API Key Authentication policy. If `bucketName` or `bucketId`
|
|
181
182
|
is set, verify it matches the consumer's bucket. If neither is set, the
|
|
182
183
|
policy uses the current environment's default bucket.
|
|
@@ -188,13 +189,14 @@ a different one.
|
|
|
188
189
|
<details>
|
|
189
190
|
<summary>I don't see the bucket I'm looking for</summary>
|
|
190
191
|
|
|
191
|
-
- **Environment
|
|
192
|
-
bucket.
|
|
192
|
+
- **Environment.** Switch the **Dev / Preview / Prod** toggle to the environment
|
|
193
|
+
whose bucket you're looking for.
|
|
193
194
|
- **Custom buckets.** Buckets created via the Developer API are account-scoped,
|
|
194
|
-
not environment-scoped
|
|
195
|
-
|
|
196
|
-
[list buckets API endpoint](https://dev.zuplo.com/docs)
|
|
197
|
-
|
|
195
|
+
not environment-scoped, so the sidebar's environment switcher doesn't surface
|
|
196
|
+
them. Confirm they exist with the
|
|
197
|
+
[list buckets API endpoint](https://dev.zuplo.com/docs) and manage them
|
|
198
|
+
through the API.
|
|
199
|
+
- **Permissions.** Account-level roles control access to the Services section.
|
|
198
200
|
Confirm your role can view and manage API key consumers.
|
|
199
201
|
|
|
200
202
|
</details>
|
|
@@ -204,8 +206,8 @@ a different one.
|
|
|
204
206
|
|
|
205
207
|
Consumers belong to buckets, not environments directly. A consumer created while
|
|
206
208
|
viewing the **Preview** environment sits in the preview bucket and only
|
|
207
|
-
authenticates preview environments. Switch the
|
|
208
|
-
|
|
209
|
+
authenticates preview environments. Switch the **Dev / Preview / Prod** toggle
|
|
210
|
+
to the matching environment to locate it.
|
|
209
211
|
|
|
210
212
|
</details>
|
|
211
213
|
|
|
@@ -44,11 +44,11 @@ hand in the admin portal does not scale to a production user base.
|
|
|
44
44
|
|
|
45
45
|
For development or one-off needs, the easiest way to obtain an API key is in the
|
|
46
46
|
[Zuplo Portal](https://portal.zuplo.com). Open your project's
|
|
47
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
48
|
-
|
|
49
|
-
create new keys for your consumers manually.
|
|
47
|
+
[**Services**](https://portal.zuplo.com/+/account/project/services) tab, then
|
|
48
|
+
select **API Keys → Consumers** in the sidebar. From here you can view existing
|
|
49
|
+
keys or create new keys for your consumers manually.
|
|
50
50
|
|
|
51
|
-

|
|
52
52
|
|
|
53
53
|
## Zuplo Developer Portal
|
|
54
54
|
|
|
@@ -54,8 +54,9 @@ Before you start, you need:
|
|
|
54
54
|
- Your **account name** and **bucket name**. A bucket groups consumers for an
|
|
55
55
|
environment - each project has buckets for production, preview, and
|
|
56
56
|
development. Find the bucket name on your project's
|
|
57
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
58
|
-
the
|
|
57
|
+
[**Services → API Keys → Consumers**](https://portal.zuplo.com/+/account/project/services)
|
|
58
|
+
page (the copyable pill under the **API Key Service** heading), and the
|
|
59
|
+
account name in
|
|
59
60
|
[**Project Settings → General**](https://portal.zuplo.com/+/account/project/settings/general).
|
|
60
61
|
- An application with server-side code and existing user authentication.
|
|
61
62
|
|
|
@@ -64,7 +65,7 @@ All examples in this guide use these environment variables:
|
|
|
64
65
|
```bash
|
|
65
66
|
# Your Zuplo Account Name
|
|
66
67
|
export ZUPLO_ACCOUNT=my-account
|
|
67
|
-
# Your bucket name (found on
|
|
68
|
+
# Your bucket name (found on the Services → API Keys → Consumers page)
|
|
68
69
|
export ZUPLO_BUCKET=my-bucket
|
|
69
70
|
# Your Zuplo API Key (found in Account Settings > Zuplo API Keys)
|
|
70
71
|
export ZUPLO_API_KEY=zpka_YOUR_API_KEY
|
|
@@ -105,9 +105,10 @@ fails the request, even if an event can't be recorded.
|
|
|
105
105
|
## Viewing audit logs in the portal
|
|
106
106
|
|
|
107
107
|
To browse and search your audit logs, open your project's
|
|
108
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
109
|
-
Zuplo Portal
|
|
110
|
-
|
|
108
|
+
[**Services**](https://portal.zuplo.com/+/account/project/services) tab in the
|
|
109
|
+
Zuplo Portal, pick the environment you want to inspect with the
|
|
110
|
+
**Dev / Preview / Prod** switcher at the top of the sidebar, then select **Audit
|
|
111
|
+
Logs → Events** in the sidebar.
|
|
111
112
|
|
|
112
113
|
The events view lets you:
|
|
113
114
|
|
|
@@ -120,8 +121,9 @@ The events view lets you:
|
|
|
120
121
|
Everything in the portal is backed by the Zuplo API, so you can query audit logs
|
|
121
122
|
programmatically — for scripting, custom dashboards, or exporting to other
|
|
122
123
|
systems. Authenticate with a [Zuplo API key](./accounts/zuplo-api-keys.mdx) and
|
|
123
|
-
query events by bucket name. Your bucket name is shown on the **
|
|
124
|
-
in the portal
|
|
124
|
+
query events by bucket name. Your bucket name is shown on the **API Keys →
|
|
125
|
+
Consumers** page in the portal, as the copyable pill under the **API Key
|
|
126
|
+
Service** heading (it's the same bucket used by the API Key Service).
|
|
125
127
|
|
|
126
128
|
```bash
|
|
127
129
|
curl "https://dev.zuplo.com/v1/audit-logs/$BUCKET_NAME/events?type=com.zuplo.api.request&startDate=2026-07-01T00:00:00Z&endDate=2026-07-07T00:00:00Z" \
|
|
@@ -37,7 +37,7 @@ are set in your terminal:
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
# Your Bucket ID (could be working-copy, preview, or production)
|
|
40
|
-
# (
|
|
40
|
+
# (Copy the bucket pill on Services > API Keys > Consumers — https://portal.zuplo.com/+/account/project/services)
|
|
41
41
|
export BUCKET_ID=your-bucket-id
|
|
42
42
|
# Your Zuplo API Key (Found in Account Settings > Zuplo API Keys —
|
|
43
43
|
# https://portal.zuplo.com/+/account/settings/api-keys)
|
|
@@ -67,10 +67,9 @@ Save and deploy. Once the plugin is enabled, ensure:
|
|
|
67
67
|
|
|
68
68
|
### Plan display order
|
|
69
69
|
|
|
70
|
-
Control plan display order from
|
|
71
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
72
|
-
|
|
73
|
-
drag-and-drop.
|
|
70
|
+
Control plan display order from
|
|
71
|
+
[**Services → Monetization**](https://portal.zuplo.com/+/account/project/services)
|
|
72
|
+
in the Zuplo Portal. Reorder plans using drag-and-drop.
|
|
74
73
|
|
|
75
74
|
### Feature comparison matrix
|
|
76
75
|
|
|
@@ -346,13 +346,12 @@ live mode.
|
|
|
346
346
|
|
|
347
347
|
<Stepper>
|
|
348
348
|
|
|
349
|
-
1. Open
|
|
350
|
-
|
|
351
|
-
the Zuplo Portal.
|
|
349
|
+
1. Open the [**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
350
|
+
tab in the Zuplo Portal.
|
|
352
351
|
|
|
353
|
-
1. Select
|
|
352
|
+
1. Select **Prod** on the environment switcher in the sidebar.
|
|
354
353
|
|
|
355
|
-
1.
|
|
354
|
+
1. Go to **Monetization → Payment Provider**.
|
|
356
355
|
|
|
357
356
|
1. Paste your live restricted key (`rk_live_...`) and click **Save**.
|
|
358
357
|
|
|
@@ -460,7 +459,7 @@ To help the team resolve your issue quickly, include:
|
|
|
460
459
|
| ------------------ | ------------------------------------------------------ |
|
|
461
460
|
| Account slug | Your Zuplo account identifier |
|
|
462
461
|
| Project slug | The project with monetization enabled |
|
|
463
|
-
| Bucket ID |
|
|
462
|
+
| Bucket ID | The bucket pill on Services → API Keys → Consumers |
|
|
464
463
|
| Stripe account ID | Stripe Dashboard → Settings, starts with `acct_` |
|
|
465
464
|
| Plan keys | The plan keys involved in the issue |
|
|
466
465
|
| Subscription ID | If the issue is subscription-specific |
|
|
@@ -71,9 +71,9 @@ Add the monetization plugin to your Developer Portal configuration.
|
|
|
71
71
|
|
|
72
72
|
1. Open the [**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
73
73
|
tab in your project.
|
|
74
|
-
2. Select the environment
|
|
75
|
-
|
|
76
|
-
3.
|
|
74
|
+
2. Select the environment with the **Dev / Preview / Prod** switcher in the
|
|
75
|
+
sidebar. This quickstart uses **Dev**.
|
|
76
|
+
3. Select **Monetization** in the sidebar.
|
|
77
77
|
|
|
78
78
|
## Step 4: Create a meter
|
|
79
79
|
|
|
@@ -231,9 +231,8 @@ charges.
|
|
|
231
231
|
you're in **sandbox mode** (toggle in the top-right corner).
|
|
232
232
|
2. Go to **Developers > API keys** and copy your **Secret key** (starts with
|
|
233
233
|
`sk_test_`).
|
|
234
|
-
3.
|
|
235
|
-
4.
|
|
236
|
-
5. Enter a **Name** and paste your **Stripe API Key**, then click **Save**.
|
|
234
|
+
3. Open **Services → Monetization → Payment Provider**.
|
|
235
|
+
4. Paste your **Stripe API Key** into the field, then click **Save**.
|
|
237
236
|
|
|
238
237
|
:::tip
|
|
239
238
|
|
|
@@ -33,12 +33,11 @@ in Stripe at the moment a charge is needed (as invoice line items).
|
|
|
33
33
|
|
|
34
34
|
### Via the Zuplo Portal
|
|
35
35
|
|
|
36
|
-
1. Open
|
|
37
|
-
[**Services**](https://portal.zuplo.com/+/account/project/services)
|
|
38
|
-
|
|
39
|
-
2.
|
|
40
|
-
3.
|
|
41
|
-
4. Click **Save**
|
|
36
|
+
1. Open
|
|
37
|
+
[**Services → Monetization → Payment Provider**](https://portal.zuplo.com/+/account/project/services)
|
|
38
|
+
in your project.
|
|
39
|
+
2. Paste your **Stripe API Key**
|
|
40
|
+
3. Click **Save**
|
|
42
41
|
|
|
43
42
|
The connection authorizes Zuplo to manage Stripe objects on your behalf —
|
|
44
43
|
specifically Customers, Checkout Sessions, Customer Portal Sessions, Invoices,
|
|
@@ -104,10 +103,9 @@ Intents, Refunds, or Stripe Billing Meters — leave all of those at **None**.
|
|
|
104
103
|
or `Zuplo Monetization (production)`.
|
|
105
104
|
3. For each of the eight permissions above, set the level shown in the table.
|
|
106
105
|
4. Click **Create key**, copy the value (`rk_test_...` or `rk_live_...`), and
|
|
107
|
-
paste it into the
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
then the Monetization Service) in your Zuplo project.
|
|
106
|
+
paste it into the **Payment Provider** screen at
|
|
107
|
+
[**Services → Monetization → Payment Provider**](https://portal.zuplo.com/+/account/project/services)
|
|
108
|
+
in your Zuplo project.
|
|
111
109
|
|
|
112
110
|
:::caution
|
|
113
111
|
|
|
@@ -75,18 +75,19 @@ Let's get started.
|
|
|
75
75
|
In order to call your API, you need to configure an API consumer. In the
|
|
76
76
|
Zuplo Portal, open the
|
|
77
77
|
[**Services**](https://portal.zuplo.com/+/account/project/services) tab for
|
|
78
|
-
your project, then
|
|
78
|
+
your project, then select **API Keys → Consumers** in the sidebar.
|
|
79
79
|
|
|
80
80
|
:::warning
|
|
81
81
|
|
|
82
|
-
Be sure to select the appropriate environment
|
|
83
|
-
|
|
84
|
-
project is linked to. If you only have a
|
|
85
|
-
select
|
|
82
|
+
Be sure to select the appropriate environment with the
|
|
83
|
+
**Dev / Preview / Prod** switcher at the top of the sidebar. You must select
|
|
84
|
+
the environment type your local project is linked to. If you only have a
|
|
85
|
+
single environment, select **Prod**. Later we will create new environments
|
|
86
|
+
for preview.
|
|
86
87
|
|
|
87
88
|
:::
|
|
88
89
|
|
|
89
|
-

|
|
90
91
|
|
|
91
92
|
Then click **Create Consumer**.
|
|
92
93
|
|
|
@@ -66,9 +66,9 @@ Let's get started.
|
|
|
66
66
|
|
|
67
67
|
In order to call your API, you need to configure an API consumer. Open the
|
|
68
68
|
[**Services**](https://portal.zuplo.com/+/account/project/services) tab in
|
|
69
|
-
your project, then
|
|
69
|
+
your project, then select **API Keys → Consumers** in the sidebar.
|
|
70
70
|
|
|
71
|
-

|
|
72
72
|
|
|
73
73
|
Then click **Create Consumer**.
|
|
74
74
|
|
|
@@ -140,8 +140,8 @@ Let's get started.
|
|
|
140
140
|
1. Test your Policy
|
|
141
141
|
|
|
142
142
|
With your gateway running (`npm run dev`), try your dynamic rate limiting.
|
|
143
|
-
Grab the key for each consumer
|
|
144
|
-
them, then make calls with each key until you hit its limit.
|
|
143
|
+
Grab the key for each consumer from **Services → API Keys → Consumers** where
|
|
144
|
+
you created them, then make calls with each key until you hit its limit.
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
147
|
# free consumer — limited to 5 requests per minute
|
|
@@ -137,10 +137,11 @@ Let's get started.
|
|
|
137
137
|
1. Test your Policy
|
|
138
138
|
|
|
139
139
|
Using the Test modal, you can try your dynamic rate limiting. You can grab
|
|
140
|
-
the key for each consumer
|
|
141
|
-
Like [Step 3](./step-3-add-api-key-auth.mdx), you can fill in
|
|
142
|
-
the `Authorization` header and start making calls until you hit
|
|
143
|
-
limit. Try out the other key and observe the difference in rate
|
|
140
|
+
the key for each consumer from **Services → API Keys → Consumers** where you
|
|
141
|
+
created them. Like [Step 3](./step-3-add-api-key-auth.mdx), you can fill in
|
|
142
|
+
the keys into the `Authorization` header and start making calls until you hit
|
|
143
|
+
your rate limit. Try out the other key and observe the difference in rate
|
|
144
|
+
limits.
|
|
144
145
|
|
|
145
146
|
</Stepper>
|
|
146
147
|
|
|
@@ -23,7 +23,8 @@ The API key system has three core objects:
|
|
|
23
23
|
See [API Key Management](../articles/api-key-management.mdx) for a full
|
|
24
24
|
overview, and
|
|
25
25
|
[Manage Keys in the Portal](../articles/api-key-administration.mdx) for managing
|
|
26
|
-
consumers under
|
|
26
|
+
consumers under
|
|
27
|
+
[**Services → API Keys → Consumers**](https://portal.zuplo.com/+/account/project/services)
|
|
27
28
|
in your project.
|
|
28
29
|
|
|
29
30
|
## How validation works
|
|
@@ -64,9 +64,11 @@ the strategy:
|
|
|
64
64
|
|
|
65
65
|
### Mode `rolesAndGroups`
|
|
66
66
|
|
|
67
|
-
Mark each capability with `roles` and/or `groups`, or `public: true`. **
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
Mark each capability with `roles` and/or `groups`, or `public: true`. **Nothing
|
|
68
|
+
is ever exposed by omission** — a capability with no markup stays in the catalog
|
|
69
|
+
but is available to no one until you classify it (so you can list it now and
|
|
70
|
+
assign roles later). Combining `public: true` with `roles`/`groups` is
|
|
71
|
+
contradictory and rejected at load:
|
|
70
72
|
|
|
71
73
|
```json
|
|
72
74
|
{
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"public": {
|
|
90
90
|
"type": "boolean",
|
|
91
|
-
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups'
|
|
91
|
+
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups' a capability with no roles/groups/public markup is available to no one until it is classified, so nothing is ever exposed by omission. Combining public: true with roles/groups is a configuration error."
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
},
|
|
144
144
|
"public": {
|
|
145
145
|
"type": "boolean",
|
|
146
|
-
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups'
|
|
146
|
+
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups' a capability with no roles/groups/public markup is available to no one until it is classified, so nothing is ever exposed by omission. Combining public: true with roles/groups is a configuration error."
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
},
|
|
209
209
|
"public": {
|
|
210
210
|
"type": "boolean",
|
|
211
|
-
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups'
|
|
211
|
+
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups' a capability with no roles/groups/public markup is available to no one until it is classified, so nothing is ever exposed by omission. Combining public: true with roles/groups is a configuration error."
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
}
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
},
|
|
274
274
|
"public": {
|
|
275
275
|
"type": "boolean",
|
|
276
|
-
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups'
|
|
276
|
+
"description": "Access control: mark this capability as available to all callers. In mode 'rolesAndGroups' a capability with no roles/groups/public markup is available to no one until it is classified, so nothing is ever exposed by omission. Combining public: true with roles/groups is a configuration error."
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
"accessControl": {
|
|
284
284
|
"type": "object",
|
|
285
285
|
"additionalProperties": false,
|
|
286
|
-
"description": "Optional per-caller access control. Defaults to mode 'allPublic' (no access control). Set mode to 'rolesAndGroups' to match the caller's role/group claims against each capability's markup (
|
|
286
|
+
"description": "Optional per-caller access control. Defaults to mode 'allPublic' (no access control). Set mode to 'rolesAndGroups' to match the caller's role/group claims against each capability's markup (a capability with no roles/groups/public markup is available to no one), or 'function' to delegate to a custom resolver.",
|
|
287
287
|
"properties": {
|
|
288
288
|
"mode": {
|
|
289
289
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zuplo",
|
|
3
|
-
"version": "6.72.
|
|
3
|
+
"version": "6.72.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The programmable API Gateway",
|
|
6
6
|
"author": "Zuplo, Inc.",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"zuplo": "zuplo.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@zuplo/cli": "6.72.
|
|
23
|
-
"@zuplo/core": "6.72.
|
|
24
|
-
"@zuplo/runtime": "6.72.
|
|
22
|
+
"@zuplo/cli": "6.72.10",
|
|
23
|
+
"@zuplo/core": "6.72.10",
|
|
24
|
+
"@zuplo/runtime": "6.72.10",
|
|
25
25
|
"@zuplo/test": "1.4.0"
|
|
26
26
|
}
|
|
27
27
|
}
|