Skip to content

change message when a user has multiple sharing types on a container … - #911

Open
SharonStrats wants to merge 2 commits into
stagingfrom
access-error-msg
Open

SharonStrats wants to merge 2 commits into
stagingfrom
access-error-msg

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

This message appears when someone has already set multiple different types of permissions on a container folder so for instance instead of just having folder and contents which we are supporting now, they may have also added folder only or contents only. it let's them know about this and understand they can't change the other access yet.
Screenshot 2026-10-27 at 9 31 34 PM

@SharonStrats SharonStrats self-assigned this Oct 25, 2026
Copilot AI balanced review requested due to automatic review settings October 25, 2026 07:01

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

The revised warning suggests combined edits are available, but mixed policies still disable all editing and saving.

1 open issue
What changed in this PR

This PR revises the access-control modal’s warning for containers with different folder and contents permissions.

Changes:

  • Replaces the warning’s explanation without changing editing behavior.
  • Updates the corresponding test expectation.
File Description
test/​components/​access-control-modal.test.ts Updates the expected warning text.
src/​components/​access-control-modal/​AccessControlModal.ts Revises the mixed-policy warning message.

Review effort: Balanced

<div class="access-control-mixed-policy-warning" role="alert">
<strong>This container has different access settings for the folder and its contents.</strong>
<span>Changing this mixed policy is an advanced feature. You can still change access for the folder or its contents separately below.</span>
<span>Currently you can only add and/or update access on the folder and contents combined.</span>
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Oct 27, 2026

@timea-solid timea-solid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We need to work on this some more.

I see the point and I need to think about it some more.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants