vincent-peugnet / antilope

Antilope private tracker for IRL sharing, allowing members to share anything inside communities.
https://antilope-alpha.club1.fr/
GNU Affero General Public License v3.0
9 stars 2 forks source link

Make UserClass editable by admin #39

Closed vincent-peugnet closed 3 years ago

vincent-peugnet commented 3 years ago

Re-use the userclass/id by adding a userclass/id/edit and a userclass/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.

vincent-peugnet commented 3 years ago

closed by https://github.com/vincent-peugnet/antilope/commit/2c83379db55468b26d12c4752c64ccb0bf803f45