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

Changes in permissions handling in 4.1 make some extensions stop working.

    XMLWordPrintable

Details

    Description

      looks like from 4.1 it is mandatory to have 'functions' element in view definition if module has any defined functions.
      Example:
      This module will not work untill you define functions element for the view.

      $Module = array( 'name' => 'Multievent' );
      $ViewList = array();
      $ViewList['newcalendarevents'] = array( 'script' => 'newcalendarevents.php',
                                                                'functions' => array( 'newcalendarevents' ),
                                                                'params' => array() );
      $FunctionList = array();
      $FunctionList['newcalendarevents'] = array();
      

      This was not like this in previous versions of ezpublish, and behavour was that you had to have module/* policy in your role to have access to such view, but now admin with //* does not have access to such views.

      Attachments

        Activity

          People

            unknown unknown
            a29ca475-2ac3-469b-95ea-e37ca79eae29@accounts.ibexa.co Sergiy Pushchin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: