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

Wider roles being ignored if you define more restrictive roles

    XMLWordPrintable

Details

    Description

      This bug was discovering while testing EZP-26377.

      If your user group has wide permissions and you define a new more restrictive policy, eZ Platform will ignore the wider policies.

      This should not happen.

      Steps to reproduce

      By the default, the editor role has the following policies:
      Module Function Limitation
      content all functions No limitations
      user login No limitations
      Change the editor role adding the following policy:

      Classes 4 & 3 are the user and the user group. Section 2 is the user section.

      Module Function Limitation
      content all functions No limitations
      user login No limitations
      content read Class( 4, 3 ), Section( 2 )
      Log with any editor user

      All the content is gone. eZ Platform is considering only the content\read\Class( 4, 3 )\Section( 2 ) policy and ignoring the content\all functions\No limitations policy.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week
                1w