Skip to content

small fix pluse no access in shared - #937

Merged
SharonStrats merged 3 commits into
stagingfrom
feat/access-dialog3
Nov 27, 2026
Merged

SharonStrats merged 3 commits into
stagingfrom
feat/access-dialog3

Conversation

@SharonStrats

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A cancelled staged Viewer grant still saves as an access revocation, potentially removing existing sharing for the principal.

1 open issue
What changed in this PR

This PR updates scope tracking and revocation labels in the access-control modal.

Changes:

  • Leave initialScope undefined for pending and newly staged grants.
  • Display “No Access” instead of “Remove” in shared-access role options.
  • Add coverage for separate scope changes and update the role-label assertion.
File Description
test/​components/​access-control-modal/​buildAccessChanges.test.ts Tests separate changes for the same subject across different scopes.
test/​components/​access-control-modal.test.ts Expects “No Access” instead of “Remove”.
src/​components/​access-control-modal/​AccessControlSharedAccess.ts Displays role names without relabeling “No Access”.
src/​components/​access-control-modal/​AccessControlModal.ts Initializes pending and staged grants without an initial scope.

Review effort: Balanced

@SharonStrats SharonStrats moved this to Ready in SolidOS NLNet UI Nov 27, 2026
@SharonStrats SharonStrats linked an issue Nov 27, 2026 that may be closed by this pull request
@SharonStrats
SharonStrats merged commit 3744414 into staging Nov 27, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Done in SolidOS NLNet UI Nov 27, 2026
@SharonStrats
SharonStrats deleted the feat/access-dialog3 branch November 27, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Access Control: Change Remove to No Access

2 participants