Skip to content

Feat/sharing dialog2 - #933

Merged
SharonStrats merged 12 commits into
stagingfrom
feat/sharing-dialog2
Nov 27, 2026
Merged

SharonStrats merged 12 commits into
stagingfrom
feat/sharing-dialog2

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator
  • Add an optional icon to the combobox to support the add input
  • Change the way add behaves, so that the access gets written into the shared area before save to support multiple role assignment
  • Move advanced from below to a toggle above for advanced container options, if advanced selected add an applies to field in the shared with area to that a user can select what access they are granting folder only, contents only, folder and contents is the default.
  • Freshen up the sharing information area to indicate the default access and allow the user to reset permissions to the inherited again.
  • change submitter to Commenter
  • Change Poster to Appender
  • Add "Admin" which is the Owner (write locked) so Read and Control only
Screenshot 2026-11-27 at 1 23 13 PM

@SharonStrats
SharonStrats requested a balanced review from Copilot November 27, 2026 01:44

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

Active access-control defects can silently ignore role and scope edits, revoke existing permissions for unassigned additions, and apply incorrect grants to containers.

5 open issues
What changed in this PR

Updates solid-ui’s sharing dialog with staged additions, per-entry folder/contents scopes, and visible inheritance and reset controls.

Changes:

  • Adds staged sharing entries and individual scope selectors.
  • Improves combobox icons, selection labels, accessibility labels, and principal search.
  • Aligns role terminology, updates tests and stories, and refreshes locked dependencies.
File Description
test/​components/​combobox.test.ts Tests option icons, templates, and selection data.
test/​components/​access-control-modal/​accessTargetResolver.test.ts Verifies directory search sources.
test/​components/​access-control-modal.test.ts Updates sharing tests and skips several existing cases.
src/​components/​combobox/​Combobox.ts Adds option icons and adjusts selection display updates.
src/​components/​combobox/​Combobox.styles.css Styles option icons and labels.
src/​components/​combobox/​Combobox.stories.ts Demonstrates options with icons.
src/​components/​access-control-modal/​types.ts Adds scope fields and sharing event types.
src/​components/​access-control-modal/​buildAccessChanges.ts Includes current and previous scopes in changes.
src/​components/​access-control-modal/​applyAccessChanges.ts Selects planners per scope and handles scope transitions.
src/​components/​access-control-modal/​accessTargetResolver.ts Adds option icons and narrows directory sources.
src/​components/​access-control-modal/​accessGrantDrafts.ts Detects scope edits alongside role edits.
src/​components/​access-control-modal/​AccessControlSharedAccess.ts Adds row-level scopes and accessible role labels.
src/​components/​access-control-modal/​AccessControlSharedAccess.styles.css Adjusts search and scope-selector layout.
src/​components/​access-control-modal/​AccessControlModal.ts Coordinates staging, scopes, inheritance display, and reset.
src/​components/​access-control-modal/​AccessControlModal.styles.css Restyles sharing information and removes obsolete advanced styles.
src/​components/​access-control-modal/​AccessControlGeneralAccess.ts Labels general-access role controls for accessibility.
src/​components/​access-control-modal/​AccessControlAddAccess.ts Updates staging controls and adds the Advanced toggle.
src/​components/​access-control-modal/​AccessControlAddAccess.styles.css Styles the toggle and revised add-access layout.
src/​acl/​access-groups.ts Updates displayed role names and their documentation.
package-lock.json Refreshes tooling and transitive dependencies.

Review effort: Balanced

@SharonStrats SharonStrats linked an issue Nov 27, 2026 that may be closed by this pull request
SharonStrats and others added 5 commits November 27, 2026 12:55
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Add error handling for unassigned access grants.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@SharonStrats SharonStrats linked an issue Nov 27, 2026 that may be closed by this pull request
@SharonStrats
SharonStrats merged commit d4791dc into staging Nov 27, 2026
9 checks passed
@SharonStrats
SharonStrats deleted the feat/sharing-dialog2 branch November 27, 2026 05:49
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: Role changes and additions access control modal: Adjustments to support advanced features

2 participants