permissions.py 452 B

12345678910111213141516
  1. from releases.permissions import ReleasePermission
  2. class DifsAssemblePermission(ReleasePermission):
  3. def get_user_scopes(self, obj, user):
  4. return obj.get_user_scopes(user)
  5. class ProjectReprocessingPermission(ReleasePermission):
  6. def get_user_scopes(self, obj, user):
  7. return obj.get_user_scopes(user)
  8. class DymsPermission(ReleasePermission):
  9. def get_user_scopes(self, obj, user):
  10. return obj.get_user_scopes(user)