Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, 7.3.X, Master
Description
This ticket has already been committed by a different team, but is similar to LPS-132256. Since the code changes are being handled by two different teams and committed at different times, this ticket has been re-scoped to only include relevant details. See LPS-132256 for the "other half" of the bug.
Description:
When viewing a site page which has been propagated from a site template, if the "Allow site administrators to modify this page for their site, even when propagation of changes is enabled." option is disabled, the user can still attempt to edit the page. The user can also attempt to modify the portlet permissions in the view page.
These are visual bugs only since nothing can be modified once the layout is locked. However, these options are unnecessary and can lead to confusion.
Steps to reproduce:
- Control Panel > Sites > Site Templates
- Make a new template, unchecking the "Allow site administrators to modify pages associated with this site template, even when propagation of changes is enabled."
- Control Panel > Sites > Sites
- Make a new site based off the template
- Click "Home" to view the site's home page
- Verify there is an "i" icon in the upper-right toolbar which reads "This page is linked to a site template which does not allow modifications to it."
Hover over the Site Navigation portlet and click the options.Verify "Permissions" is available and can be selected- Verify there is a pencil icon in the upper-right toolbar which when clicked, brings the user to the edit page
Expected results: The user does not see the pencil icon nor the portlet permissions options since the page is linked to a site template which does not allow for modifications
Actual results: The user can click the pencil icon, entering the edit page and they can attempt to modify the portlet permissions
Reproduced in master: 5e223c8b9f0215cb982ccf36e1fcf32db9ad262a
Attachments
Issue Links
- fixes
-
LPS-123166 Content Pages derived from Site Templates editable for Site Administrators even though the option is disabled
- Ready for Testing
- is related to
-
LPS-132296 Automate LPS-131903 and LPS-132256
-
- Closed
-
- relates
-
LPS-132256 Users can attempt to modify portlet permissions when propagated site page is locked
- Closed