You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A content reviewer (read only access) logs in to the CMS and views a page, the settings tab can be access if in edit mode, it redirects to the content tab if in split mode.
user access:
Steps to reproduce:
User logs into the CMS with read only access,
then go to a page with split mode,
then go to the Settings tab,
it redirects to the content tab.
Change to edit mode,
then try go to the Settings tab,
it doesn't redirect to content tab.
The text was updated successfully, but these errors were encountered:
Are you using $MetaTags in the page template? If so, I suspect it's related to the functionality that identifies the page ID of the page being previewed and navigates to that page's edit form.
If that's the case, a workaround would be to either not use $MetaTags in the template, or override the MetaTags() method in your Page class, removing the x-page-id and x-cms-edit-link meta tags (which are only present for the preview anyway)
@GuySartorelli What is the expected behaviour for a Content reviewer (read only access) to access the Settings tab? When we were trying to resolve an issue for the content review module silverstripe/silverstripe-contentreview#175 we manage to find a workaround by adding a hidden input field (value equals to the Page ID) to the Settings tab. It stopped the redirection from happening.
That makes sense - the content tab already has that hidden field and I believe that's what is compared against the $MetaTags ID - though I would expect that if there is no ID field to compare against it shouldn't try to redirect.
A content reviewer (read only access) logs in to the CMS and views a page, the settings tab can be access if in edit mode, it redirects to the content tab if in split mode.
user access:
Steps to reproduce:
User logs into the CMS with read only access,
then go to a page with split mode,
then go to the
Settings
tab,it redirects to the content tab.
Change to edit mode,
then try go to the
Settings
tab,it doesn't redirect to content tab.
The text was updated successfully, but these errors were encountered: