Hovering a folder/file now shows "Your permissions" (the rwcda verbs you hold there) and "Your roles" (the cascade roles you're a member of at that location — e.g. document_controller, project_team). Roles are cascade- scoped, so they can differ by location; this answers "does the system think I'm a document_controller here?". - server: RolesForPrincipalInChain(chain, email) resolves the caller's role memberships at a path (honouring fences/resets, incl. embedded standard roles); /.profile/access?path= now returns path_roles alongside path_verbs. - browse hovercard: "Your permissions" from node.verbs (sync); "Your roles" async-filled from /.profile/access?path= via zddc.cap.at (memoised). Offline mode shows "local folder (filesystem)" and no roles row. Tests: RolesForPrincipalInChain unit tests (member union, wildcard members, non-member, fence-hides-ancestor-role, empty email). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| archive | ||
| auth | ||
| cache | ||
| config | ||
| convert | ||
| fs | ||
| handler | ||
| jsonschema | ||
| listing | ||
| policy | ||
| tlsutil | ||
| zddc | ||
| zipfs | ||