read-only user on author-system should always be in preview mode
----------------------------------------------------------------

                 Key: MAGNOLIA-2554
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2554
             Project: Magnolia
          Issue Type: Bug
          Components: admininterface
    Affects Versions: 3.6.3
         Environment: any environment
            Reporter: Wolfgang Habicht
            Assignee: Philipp Bracher
            Priority: Minor


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
{code:xml} 
<cms:publicOnly><p>public or preview mode</p></cms:publicOnly>
<cms:adminOnly><p>edit mode</p></cms:adminOnly>
{code} 

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to