SEPIA-Framework / sepia-docs

Documentation and Wiki for SEPIA. Please post your questions and bug-reports here in the issues section! Thank you :-)
https://sepia-framework.github.io/
237 stars 16 forks source link

Cannot change user roles #17

Closed Smarthome-Creator closed 4 years ago

Smarthome-Creator commented 4 years ago

Hi there, first of all I want to congratulate you on this great project. Great job so far. I wanted to add the role smarthome guest to a user, but unfortunately that is not possible. You write in the wiki that you should check the field ´Overwrite Roles´, but unfortunately that doesn't exist. :-( I can assign roles but then all core roles are gone or I can't overwrite them. You can see it in the picture. Excuse my english, it's not the best. core roles no overwrite roles field

Best wishes

fquirin commented 4 years ago

Hello and thanks a lot :-)

The text was a bit out-dated and confusing because the roles field was called "Overwrite Roles" in an earlier version. I've updated the text now.

The error message you see actually refers to the "core accounts" (by default uid1003 and uid1005, aka 'superuser' and 'assistant') that cannot be modified. I assume you've recreated these users at some point (or changed the password again?) since it seems one of your core-accounts has the ID uid1009 now.

I strongly recommend to use the core-accounts only for configuration! To proceed please create a new user and edit it's rules as required :slightly_smiling_face:

cu, Florian

Smarthome-Creator commented 4 years ago

Hello Florian,

thank you for your explanation. I now understand how role assignment works. In Germany we say: "Ich stand auf dem Schlauch!" ;-)

Thx for your help!

sepia-assistant commented 4 years ago

Aber gerne doch ;-)