Repository navigation
fix(access): send the backend every permission except the identity provider's own - #61
Conversation
The backend projection only carried the admin:, tg:, wa:, groups:, web: and azure: prefixes, so granted esign:sign and esign:requests:manage never reached the backend and the dashboard hid the Signatures section.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe backend access projection now includes the ChangesBackend access projection
Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
…ovider's own Replaces the prefix allowlist with excluding the managed idp:* permissions, so a permission created in the dashboard reaches the backend without a code change.
The backend projection only carried permissions with the
admin:,tg:,wa:,groups:,web:andazure:prefixes, so new permissions created in the dashboard (e.g.esign:sign,esign:requests:manage) never reached the backend until someone edited the code.The projection now carries every permission except the identity provider's own managed
idp:*permissions. Subjects with no projected permission are still left out of the snapshot.src/auth/access-projections.ts: dropprefixessrc/auth/access-snapshot.ts: filter withisManagedPermissionKeyidp:*is not