Skip to content

WIP: Permissions

Louis van Beurden requested to merge permissions into master
  • Move Validation.Status into ValidationLevel enumeration
  • Add MAX_VALIDATION_LEVEL variable in settings.py to set the number of ValidationLevel
  • Add a ValidationLevelPermission enum with a value for all ValidationLevel
  • Add a ValidableResourceMixin, a mixin that add a validation field and object-level permission on it
  • Add django-guardian for handling permissions
  • Add a small test for ValidationLevel permissions on the model

Merge request reports