dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
846 stars 465 forks source link

Templates: Limited user with only view perms to templates gets blocked in the system #30034

Open dsilvam opened 4 days ago

dsilvam commented 4 days ago

Problem Statement

If a limited user with only view permissions to a template attempts to modify it, it will then be unable to go anywhere else in the system. Any further clicks to other portlets do nothing.

https://github.com/user-attachments/assets/e0c51741-dc45-4a5d-97dc-6f017f1c25c6

Steps to Reproduce

  1. As an Admin set view permissions to templates for the Publisher/Legal role
  2. Create a design template called "template for Chris"
  3. Set individual permissions to Chris Publisher for only view
  4. Log in as Chris Publisher
  5. Open and make modifications to the template "template for Chris"

After this, the user will get a message saying that they don't have permissions to do this but after that it won't be able to navigate anywhere else. Any attempt to go to another portlet won't do anything.

Acceptance Criteria

The user should be able to navigate to any other place in the system regardless of attempting to modify a template to which they don't have permissions.

dotCMS Version

trunk_49902f3

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

dsilvam commented 4 days ago

Not related to the PrimeNG upgrade

bryanboza commented 4 days ago

Dupe of #30037

bryanboza commented 4 days ago

Related to #30037