CsteerDevops1 / wiki-framework

6 stars 0 forks source link

Create a table to store users with their roles in mongo #83

Closed Esclide closed 4 years ago

Esclide commented 4 years ago

Two types of roles: -user can edit unstable objects, delete and add new ones -admin have all the users possibilities, but also he can change 'stable' property to 'unstable' and vice versa

orasul commented 4 years ago

One more idea. There should be 3 permissions levels: admins, users and guests. Each account which was authenticated by web ui auth process or via tg-loginname should automatically become guest. Guests - should be the straightforward way of adding new users in database. Admins should be able to grant permission level to any user.