cybernetisk / shifty

3 stars 0 forks source link

User and shifts restrictions #35

Open olivaq opened 10 years ago

olivaq commented 10 years ago

New users shouldn't be able to take any shift, we need some relations here.

olivaq commented 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.