Open olivaq opened 10 years ago
User should have a many-to-many relation to shift_types, and we should check this list in the take_shift function.
It should also be exported to client side and integrated in the views there, disabling the shift of types the user can't take.
New users shouldn't be able to take any shift, we need some relations here.