JanPalasek / smart-home-server

Server that is supposed to handle everything what smart home requires.
MIT License
0 stars 0 forks source link

Create roles #8

Closed JanPalasek closed 4 years ago

JanPalasek commented 4 years ago

Goal of this issue is to create authentication using roles.

Admin will have access to everything (creating user etc). User will have access just to changing his password.

There will be create role and detail role page. Admin will have possibility on user create and detail to assign role to him (possibly dropdown list with roles).

JanPalasek commented 4 years ago

There is need for refactoring now. Maybe AdminController needs to be split into more. AsEnumerable need to be fixed. Additionally, it would be nice to see a list of users that have given role in role detail.

JanPalasek commented 4 years ago

Roles finished. More refactoring needed, but won't be done as a part of this issue.