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

Show error message in log when permission is denied (read/write)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently, if any code tries to access/write data without the relevant permission given to the currently logged in user (or anonymous if you're not logged in), no error is shown in the log file!

      I believe this is an extremely common issue coming up to many developers, whether new to Magnolia CMS or advanced.
      I had this problem several times in the past few months, on new projects as well as on existing ones. Lately I worked on a migration, after migrating I tested a page & I could not see some of the data. I had to go through, checking the location of the data imported, checking the data itself (export), modifying the template script, & so on, until I found out it simply was a permission issue. It can take a couple of hours to fix/understand, as it is so easy to forget about this possibility.

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marvink2 Marvin Kerkhoff
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  Checklists

                  DoD