Setting group permissions on a device type doesn't work
If, on a device type, I set permissions for a group to "Can change device type" - it doesn't let me change it unless the group itself has that permission, which then allows members of that group to change any device type.
Looking at the code in lava_scheduler_app/api/device_types.py it would seem that calling the decorator for, for example, set_health_check, only checks the django based permissions, rather than having a decorator that looks first at any device_type/group permissions.
I'm assuming this isn't expected behaviour?
I'm looking at the code to see if I can fix it.