Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25302

fetch content node does not use right system

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • Legacy stack
    • None

    Description

      The node-fetch function does not use the ezpublish legacy right-system nore the visibility.
      e.g .

      {def $node = fetch( 'content', 'node', hash( 'node_id', 123) )}

      How to reproduce:
      1. create a new section
      2. create a new folder and assign the new section
      3. integrate some code in your pagelayout.tpl to view the folder node

      {def $TMPNode = fetch( 'content', 'node', hash( 'node_id', <Folder-Node-ID> ) )}

      {$TMPNode|attribute( show, 2 )}

      If you do the same with fetch( 'content', 'list' [...]) the right system an the visibility are used.

      We are able to reproduce this von eZ Publish 4.7 to 5.4

      Attachments

        Activity

          People

            Unassigned Unassigned
            d75588ee-5685-4117-be3b-e5746af05636@accounts.ibexa.co Björn Köster
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: