Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2554

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Outdated
    • Minor
    • None
    • 3.6.3
    • admininterface
    • 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

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              wolfgang Wolfgang Habicht
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD