Title: id: resolve device-admin identity in event-store tag views · Issue #5656 · developing-today/code · GitHub
Open Graph Title: id: resolve device-admin identity in event-store tag views · Issue #5656 · developing-today/code
X Title: id: resolve device-admin identity in event-store tag views · Issue #5656 · developing-today/code
Description: Context Follow-up to #2090. Its role-aware EventStore::tag_claims default view uses the settled group projection and compares a clear's signing key to the Admin account key. The event-store bridge in pkgs/id/src/event_store/resolve.rs cu...
Open Graph Description: Context Follow-up to #2090. Its role-aware EventStore::tag_claims default view uses the settled group projection and compares a clear's signing key to the Admin account key. The event-store bridge ...
X Description: Context Follow-up to #2090. Its role-aware EventStore::tag_claims default view uses the settled group projection and compares a clear's signing key to the Admin account key. The event-store bri...
Opengraph URL: https://github.com/developing-today/code/issues/5656
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id: resolve device-admin identity in event-store tag views","articleBody":"## Context\n\nFollow-up to #2090. Its role-aware `EventStore::tag_claims` default view uses the settled group projection and compares a clear's signing key to the Admin account key. The event-store bridge in `pkgs/id/src/event_store/resolve.rs` currently maps `p2panda_auth::GroupAction` membership operations, but does not carry the newer `id::groups::fold::DeviceGrant` records into that projection.\n\nAs a result, a `tag.clear` signed by a device authorized to act for a group Admin is not recognized as that Admin: the marker remains visible/audit-queryable, but it does not hide the claim in the default view.\n\n## Needed\n\nIntegrate settled device authorization into the event-store tag-role lookup, or explicitly define that the event-store protocol treats a device key as a distinct non-admin poster. If device authorization is supported, cover an Admin-scoped device, a device with a lower scope, and a revoked/inactive device. Keep device support separate from deletion policy (#2091).\n\n## Acceptance criteria\n\n- [ ] The event-store tag-role lookup in `pkgs/id/src/event_store/resolve.rs` either recognises settled `DeviceGrant` authorization (an Admin-scoped device clear hides the claim in the default view) or this issue records the explicit decision that a device key is a distinct non-admin poster.\n- [ ] If device authorization is supported: tests cover an Admin-scoped device, a lower-scoped device, and a revoked/inactive device.\n- [ ] Device support stays separate from deletion policy (issue #2091) — no deletion semantics change here.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-04T21:21:00Z","url":"https://github.com/developing-today/code/issues/5656"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce6e7e82-77bc-b97b-80ac-7591c7b89aad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9D0:1CD523:7CDFA1:A298B4:6B062C59 |
| html-safe-nonce | 00b97de243d9d37f97588c9d000561ef0d17e0111a70c2ab511d7f6f0c6234ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUQwOjFDRDUyMzo3Q0RGQTE6QTI5OEI0OjZCMDYyQzU5IiwidmlzaXRvcl9pZCI6IjIwNTEzOTg3ODAzNDMxNjgwODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d74fd58e9831a869aa74f2a058cccf50859b525e323a3f7c8e8fd984fa48fb5a |
| hovercard-subject-tag | issue:6211617609 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5656/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c876246e6c1eafc9a0c4ac382bd94229b2b2afcfe6c04937f50374a5d636093/developing-today/code/issues/5656 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c876246e6c1eafc9a0c4ac382bd94229b2b2afcfe6c04937f50374a5d636093/developing-today/code/issues/5656 |
| og:image:alt | Context Follow-up to #2090. Its role-aware EventStore::tag_claims default view uses the settled group projection and compares a clear's signing key to the Admin account key. The event-store bridge ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width