Details
-
Bug
-
Resolution: Outdated
-
Minor
-
None
-
3.6.3
-
None
-
any environment
Description
Precondition:
- User has read-only access for page /abc
- User logs in to admin console
- User opens page /abc
--> the page /abc is displayed and cannot be edited (correct)
Problem:
- the user is in admin mode / "edit" mode (NOT preview mode)
Correction:
- a read-only page should always be viewed in preview mode (that is admin mode / preview mode)
Reproduction/Verification:
- create a user with read-only access for page /abc
- include the following .jsp-snipplet in a paragraph on that page
<cms:publicOnly><p>public or preview mode</p></cms:publicOnly> <cms:adminOnly><p>edit mode</p></cms:adminOnly>
Background:
- the layout of some pages may differ between edit and preview mode; therefore I can use the tags publicOnly and adminOnly
- a 'design reviewer' should have access to prepared (=not yet published) pages, but not be able to change them himself --> read-only access
Checklists
Acceptance criteria