Draft: Add scope permission checks when creating workspaces
This is a first attempt at introducing model-level permission checks
-
try hooking into the save()method instead ofcreate() -
introduce a context.management_commandboolean flag, to be used by model tests instead of permission overrides -
move mock_patchfrompermissions.pytodebusine/test/django.py
Edited by Enrico Zini