Closed vincent-peugnet closed 3 years ago
Re-use the userclass/id by adding a userclass/id/edit and a userclass/id/delete.
userclass/id
userclass/id/edit
userclass/id/delete
access would be controller by userClassVoter checking if user is admin.
userClassVoter
Should be the same form as add but with a few differences:
On delete, all the user will migrate to the next lower user class or then upper. It will be impossible to delete the last userClass standing.
closed by https://github.com/vincent-peugnet/antilope/commit/2c83379db55468b26d12c4752c64ccb0bf803f45
Re-use the
userclass/id
by adding auserclass/id/edit
and auserclass/id/delete
.access would be controller by
userClassVoter
checking if user is admin.edit
Should be the same form as add but with a few differences:
Delete
On delete, all the user will migrate to the next lower user class or then upper. It will be impossible to delete the last userClass standing.