-
Notifications
You must be signed in to change notification settings - Fork 38
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
Preview Button for Pages with Live Content not working for some user roles #3481
Comments
Thank you for reporting this issue. I noticed this issue while working on #495. @jarlhengstmengel could you please check if we fix this issue during the refactoring of the page tree? :) |
I could reproduce it in the refactoring page tree branch, but only when creating a new page and embedding live content. I got a PermissionDenied exception in the console. Editing a page and clicking preview wasn't a problem. When switching to the develop branch I could also reproduce the bug while editing a page |
I updated the description how to reproduce this bug. I could only reproduce it with live content from other then the current region. I reproduced the bug completely on the Refactoring Page Tree branch. The refactoring is definitely not solving the bug. |
I have a bit of a fundamental question, is it intended that all user groups from above are allowed to embed content from other regions? |
Excluding observer all of them are able to if they have the 'experienced user' permission turned on. |
Describe the Bug
Affected user roles = author, editor, observer or manager
Only affects the preview button when editing/creating a page.
The preview button on the page tree does work when there is embedded content.
As a user with one of the above user roles, when you open a page view that has live content embedded, the preview button is unresponsive. Same issue applies when creating a new page for the roles and embedding live content.
The cms-team role and service team role can open a preview without live content embedded. (I haven't tested the other Integreat Team Member roles).
Steps to Reproduce
Editing a page:
Creating a page:
Expected Behavior
Preview opens and is shown correctly to the user.
Actual Behavior
The Preview button is unresponsive and no preview opens.
Additional Information
Traceback
Related Issues
The text was updated successfully, but these errors were encountered: