Skip to content

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

Open
SharonStrats wants to merge 1 commit into
stagingfrom
access-error-msg
Open

SharonStrats wants to merge 1 commit into
stagingfrom
access-error-msg

Conversation

@SharonStrats

Copy link
Copy Markdown
Collaborator

…resource

@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>

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: No status

Development

Successfully merging this pull request may close these issues.

2 participants