Repository navigation
dir-sim: read group grants from the authority's versioned policy - #1486
Conversation
GroupRoles::from_policy builds the grants from one version of ogar_rbac::GroupRolePolicy, so the grants have one home (decision 4(b)): the directory supplies membership, the authority supplies which roles a group confers. A group the policy never named stays unread; a group whose grants were all revoked is read with no roles (decision 5(a)). HubSPO wishlist #2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYour organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Next included review available in 9 minutes. View limit details
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Comment |
What
HubSPO wishlist #2, following decisions 4(b) and 5(a). This was pushed to #1485's branch after #1485 merged, so it is re-opened here on top of main.
GroupRoles::from_policybuildsViewActors' grants from one version of OGAR'sogar_rbac::GroupRolePolicy. The grants now have one home: the directory supplies membership, and the authority's versioned policy supplies which roles a group confers, with provenance kept in the policy.unread_groupsnames it.Dependency
dir-sim's
rbacfeature now pulls inogar-rbacby git. The crate's own[patch]mapsogar-rbac,ogar-authandogar-vocabto the OGAR sibling. It also mapslance-graph-contractandlance-graph-rbacto this checkout, soViewActorsand the policy share oneRoleId. No consumer enablesrbac. Spear andlance-graph-dir-sim-lancestill resolve.Tests
roles_come_from_one_version_of_the_group_role_policy. It fails to compile withoutfrom_policy.view_actors.rs:220(u4 then reports S3 as unread).cargo +1.99.0 clippy --all-targets --all-features -D warningsand the full dir-sim suite pass, with debug info off.Board
🤖 Generated with Claude Code
https://claude.ai/code/session_01G22yT6htkcdyXsihxxXdrg
Generated by Claude Code