netzmacht / contao-leaflet-maps

Leaflet maps extension for Contao CMS
12 stars 8 forks source link

Feature permissions #65

Open dmolineus opened 5 years ago

dmolineus commented 5 years ago

This pull request provides implementation of the permission check as requested in #23:

  1. Allow to restrict access to specific layers
  2. Allow to restrict access to specific actions (create, edit, delete, data)
  3. Allow to restrict access to data of an layer only

As the permission handling isn't easy to understand in Contao there should be a review to see if any edge cases are handled.