pierobot / mangapie

This is a self-hosted server for archived manga.
BSD 3-Clause "New" or "Revised" License
64 stars 9 forks source link

User Management #131

Closed donotos closed 4 years ago

donotos commented 4 years ago

After using mangapie for a while i find that the feature i miss the most is user management. Yes, you can register a new user but that's all... to begin with, i think the most basic features should be:

an admin should be able to create a user (simply add the "register" button in the user management pannel)

an admin should be able to promote any user with admin rights. actually only dev can access the configuration panel.

an admin should be able to restrict/allow access to libraries per user. (ex: if you have 4 libraries you would give user1 access to libraries 1 & 2 and for user2 libraries 1, 2, 3 & 4)

pierobot commented 4 years ago

I originally had manual user creation because the user registration was not implemented but removed it once it was completed.

I plan on eventually creating more predefined user roles with more advanced permissions. Of course, this will also include manually granting roles to users.

As for the library access, I also originally had that but forgot to add it after the admin panel rework. I want to also grant library access by roles as an option.

I don't have many other priorities for this project aside from the PR I'm currently working on so I should be able to work on these soon.