Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Document Public Access cancelled server requests #1985

Merged

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Jun 5, 2024

Description

Fixes: umbraco/Umbraco-CMS#16548

This PR ensures that the "Public Access"-entity action is wired up. The PR also adds an icon to the document tree item to show when a document is protected.

The member endpoints require access to the member section to work. We have the same limitation in V13. I have decided to hide the "Public Access"-entity access if a user doesn't have access to the member section. Then we prevent the UI from exploding.

What to test:

  • Set public access settings for a document
    • individual members
    • member groups
  • Remove public settings for a document
  • Check that the protected icon is shown in the tree

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

@madsrasmussen madsrasmussen changed the title bugfix: Document Public Access cancelled server requests Bugfix: Document Public Access cancelled server requests Jun 5, 2024
@madsrasmussen madsrasmussen marked this pull request as ready for review June 17, 2024 08:30
Copy link
Contributor

@loivsen loivsen left a comment

Choose a reason for hiding this comment

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

LGTM 😊🎉

@madsrasmussen madsrasmussen merged commit 053da89 into main Jun 17, 2024
6 checks passed
@madsrasmussen madsrasmussen deleted the v14/bugfix/document-public-access-cancelled-server-requests branch June 17, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Restrict Public Access" does not work
2 participants