Skip to content

Permissions: No error message displayed when user lacks read permission on content node #20505

@andr317c

Description

@andr317c

Which Umbraco version are you using?

17.0.0-beta

Bug summary

When a user belongs to a user group that only has "Access to all documents" enabled (without read permissions) and tries to navigate to a content node, the user should receive a notification or message on the content node, like "Not found" or "Not authorized".
However, in version 17, the user only gets a blank page and a console error: GET https://localhost:44339/umbraco/management/api/v1/document/26abb1b0-c748-4be2-8ad7-be106fdabdee 403 (Forbidden)

Specifics

Image

Steps to reproduce

  1. Create a UserGroup with Access to all documents enabled
  2. Create TestUser with the UserGroup
  3. Create a content node.
  4. Log in to the TestUser
  5. Navigate to the created content node
  6. See a blank/empty content node

Expected result / actual result

Expected: Some text should be displayed indicating "Not found" or "Not authorized", as was the case in previous versions.
Actual: A blank/empty content pane is displayed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions