When a user adds a page using Page Templates the permissions of the page template are copied to the page

Description

This behavior does not make any sense and together with the fact that page templates are applied lazily creates strange behaviors such as the one described next:

If an administrator creates a page (on the public pages of a site) using Page Templates, the page appears visibly for a guest user to click on. However, upon clicking on the page - the guest user will receive a prompt to log in (to see content on a public page?) and the page will disappear. From an end user perspective, this is strange behavior.

Steps to reproduce
1. Login as admin
2. In the default site public pages -> go to Control Panel -> Site Pages
3. Add a page and use a preset Page Template
4. Refresh a different browser as a guest user - note that the guest user can see the page.
5. Click on the page you created as a guest user
6. Observe the page disappear.

See this screencap for video of this behavior - http://www.screenr.com/tfos

Environment

Tomcat 7.0.23 + MySQL 5. 6.1.x GIT ID: a3d8916d6bf6a1a35a8d7255de46cefdb5a4b9e3. Tomcat 7.0.23 + MySQL 5. Trunk GIT ID: 1c50b6991a0828bd91d9661bc74fdda1fb8a42d9.

Activity

Show:

Lawrence LeeFebruary 12, 2012 at 11:22 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + HSQL. 6.1 GA

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: f0bce5bca3168e85412ff1421cc328e8761637ee.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: c212a4246954fb53bb3ff2612c4e9fd4fe6ea2e3.

Michael SaechangFebruary 10, 2012 at 3:59 PM

Committed on:
6.1.x GIT ID: 47fc8ebb5f3802a1c4b7bb82535eab68403b68db.
6.2.x GIT ID: 47fc8ebb5f3802a1c4b7bb82535eab68403b68db.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Affects versions

Priority

Zendesk Support

Created January 4, 2012 at 11:53 AM
Updated June 24, 2023 at 3:44 PM
Resolved March 12, 2012 at 2:44 PM