Improve permission visibility for restricted team actions#1963
Draft
soamdesai-tfh wants to merge 2 commits into
Draft
Improve permission visibility for restricted team actions#1963soamdesai-tfh wants to merge 2 commits into
soamdesai-tfh wants to merge 2 commits into
Conversation
soamdesai-tfh
temporarily deployed
to
development
June 24, 2026 03:01 — with
GitHub Actions
Inactive
One PERMISSION_RULES source of truth driving the permissions dialog and client gating; RestrictedAction/RestrictedButton/Tooltip/DisabledListItem/Tab-disabled primitives; disable-not-hide across app config, World ID 4.0/actions, API keys, team settings, and member management; migrate ad-hoc checkUserPermissions (incl. proxy.ts) onto userCanPerformAction. Snapshot for a minimization pass. NOTE: includes an out-of-scope, NODE_ENV-gated local-dev World ID 4.0 SSM override in lib/feature-flags/world-id-4-0/server.ts that should be reverted before merge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
soamdesai-tfh
temporarily deployed
to
development
June 24, 2026 20:45 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
pnpm format:checknpx tsc --noEmitnpx jest web/tests/unit/permissions.test.ts web/tests/unit/member-row-actions.test.ts web/tests/unit/restricted-action.test.tsx web/tests/unit/tooltip.test.tsx web/tests/unit/use-team-permission.test.tsx web/tests/unit/world-id-40-restrictions.test.ts