Skip to content

Conversation

@AndyButland
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

Fixes: #20816

Description

There's no reason a user with only permissions to browse a node shouldn't be able to open the selections on a content picker, so this update allows it.

image

Testing

With a user that only has "Browse" permissions for a document that has a content picker on it, verify that the "Open" button is available next to the selected items.

Copilot AI review requested due to automatic review settings November 13, 2025 10:45
@AndyButland AndyButland changed the title Content picker: Allow selections on a content picker on a read-only document to be opened Content picker: Allow selections on a content picker on a read-only document to be opened (closes #20816) Nov 13, 2025
Copilot finished reviewing on behalf of AndyButland November 13, 2025 10:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables users with read-only or browse-only permissions to open content picker selections for viewing. Previously, the "Open" button was hidden when a document was read-only, preventing users from viewing the selected content even though they had permission to browse it.

Key Changes:

  • Removes the readonly check from the allow-open condition in the content picker template, allowing the "Open" button to appear based solely on configuration and user section access

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants