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

Admin UI let the user create content even though the user doesn’t have access to publish it

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: High High
    • Customer request
    • 16.02
    • None
    • None
    • ezsystems/platform-ui-bundle (v1.2.1)
      ezsystems/landing-page-fieldtype-bundle (v1.2.1)
      ezsystems/studio-ui-bundle (v1.2.2)

    Description

      When logging into the Admin UI with a user that only has access to create articles under one folder the UI does not in any way tell the user that it can’t create content in other locations.
      If I try to create a folder elsewhere I can write the content and spend time on creating something that I can’t publish.

      The error message displayed only say this: ”An error occurred while publishing the draft”. Does not really tell my why it fails. The JSON errorMessage on the other hand gives good info: ”User does not have access to 'create' 'content' with: parentLocationId '103', sectionId '1'”

      For a end-user this is really bad and a makes it user-unfriendly.

      The message displayed in the log file is not helping much when trying to debug – if I found the correct one:
      translation.DEBUG: Translation use fallback catalogue.

      {"id":"User does not have access to '%function%' '%module%' with: %with%","domain":"repository_exceptions","locale":"no_NO"}

      []

      Attachments

        Activity

          People

            Unassigned Unassigned
            9d6da226-51aa-41ae-b7e9-56ec320d5ebe@accounts.ibexa.co Vangen Plotz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: