DESCRIPTION
For the moment there is no interest in having a Role model. Indeed they won't change a lot and there are not a lot of users in DB. So let's keep it as simple as possible.
TODO
Add a role attribute in User model and a validation on Rails side. Consider using a form object with custom validation.
DESCRIPTION
For the moment there is no interest in having a
Rolemodel. Indeed they won't change a lot and there are not a lot ofusersin DB. So let's keep it as simple as possible.TODO
Add a
roleattribute inUsermodel and a validation on Rails side. Consider using a form object with custom validation.