@groundfloorcloud/mcp 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +19 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -522,7 +522,10 @@ the provider.
522
522
  created on the **Roles** tab. Roles here are unrelated to Portal team roles.
523
523
  - The role decides what the user reaches once granted on **Site access**
524
524
  (Data Vault collections, workspace-wide Files, App launch). The built-in
525
- \`admin\` role reaches everything. A signed-in user with no recognised role
525
+ \`admin\` role is granted like any other role: new collections start with
526
+ an \`admin\` grant and new workspaces give it Files write, and removing a
527
+ grant removes admins' access. Keep \`admin\` in every Access PUT unless the
528
+ user means to remove it. A signed-in user with no recognised role
526
529
  gets 403 on role-gated endpoints (Vault, feature flags).
527
530
  - SSO (OIDC or SAML) can be connected per workspace; role names in the
528
531
  provider's tokens must match the roles granted on Site access.
@@ -1326,6 +1329,18 @@ Grant site roles on **Administer \u2192 Access**. Workload identities get
1326
1329
  collection grants via \`PUT \u2026/vault/collections/{name}/acl\`. M2M is Team
1327
1330
  Writer (workspace-wide), not an Access subject.
1328
1331
 
1332
+ - \`PUT \u2026/acl\` is a **full replace**, saved exactly as sent. \`GET\` the
1333
+ current grants first and send them all back with your change: every site
1334
+ role grant, \`admin\` included, and every workload identity grant. Anything
1335
+ you leave out is removed.
1336
+ - The built-in site role \`admin\` is granted like any other role. New
1337
+ collections start with \`admin\` \u2192 \`delete\`; if a PUT leaves \`admin\`
1338
+ out, admins lose access to that collection. Never drop it unless the user
1339
+ asked for that.
1340
+ - Only builders (team members with \`ddl\`, or the Client Portal) read or
1341
+ change ACLs. A site (app end user) token gets 403 on every ACL route,
1342
+ even with the \`admin\` role.
1343
+
1329
1344
  ## Identities vs M2M
1330
1345
 
1331
1346
  - Unattended Coderunners: attach an M2M client, \`gf deploy\`, then
@@ -1407,13 +1422,13 @@ var DOC_CATALOG = [
1407
1422
  path: "/docs/access/app-authentication",
1408
1423
  summary: "App end users sign in only to the app via the workspace App Authentication realm; no Groundfloor console account or workspace membership. Modes none / Groundfloor / external, users and roles, SSO, multi-tenant. Optional; not required to create Apps or Coderunners. Separate from portal Team.",
1409
1424
  embedded: APP_AUTHENTICATION_GUIDE,
1410
- lastUpdated: "2026-10-08"
1425
+ lastUpdated: "2026-10-12"
1411
1426
  },
1412
1427
  {
1413
1428
  id: "access",
1414
1429
  title: "Access",
1415
1430
  path: "/docs/access/site-access",
1416
- summary: "Grant site roles Data Vault collections, workspace-wide Files, and Apps launch. Admin is implicit. M2M is not an Access subject. Team membership is unchanged."
1431
+ summary: "Grant site roles Data Vault collections, workspace-wide Files, and Apps launch. The built-in admin role is granted like any other role; every Access PUT is a full replace, so include admin and the existing grants or they are removed. Only builders manage Access; app end users get 403. M2M is not an Access subject. Team membership is unchanged."
1417
1432
  },
1418
1433
  {
1419
1434
  id: "m2m",
@@ -1465,7 +1480,7 @@ var DOC_CATALOG = [
1465
1480
  path: "/docs/api/vault",
1466
1481
  summary: "Create collections with JSON Schema, record routes (/vault/collections/{collection}/\u2026), query request/response (items, total, has_more, next_offset, limit 1-500), $text substring search (bounded scan, chunked_scan/scan_cursor), ACLs, implicit tables, nested filters, identities vs M2M, secrets fallback.",
1467
1482
  embedded: VAULT_GUIDE,
1468
- lastUpdated: "2026-10-09"
1483
+ lastUpdated: "2026-10-12"
1469
1484
  },
1470
1485
  {
1471
1486
  id: "feature-flags",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundfloorcloud/mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Groundfloor MCP — inspect workspace state and docs; take actions with the gf CLI.",
5
5
  "type": "module",
6
6
  "bin": {