-
Hello, I'm following the documentation : https://docs.stackstorm.com/rbac.html#using-rbac-example to create a new user in StackStorm. But as soon as I want to log in with this new user, I have the folowing lines
2- create a new user
3- reload the rbac
4 -assignment conf for rbac_user2.yaml
5- role for test_role.yaml
6- verify to login :
The log in is OK with st2admin.
I don't understand :( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Which authentication method did you configure in your st2 instance? See https://docs.stackstorm.com/authentication.html The documentation you were following with linux user/password refers to
If you didn't change the auth method, the default is flat-file https://docs.stackstorm.com/authentication.html#authentication with configuration in the Lines 45 to 49 in 4aac99b If that sounds confusing, feel free to propose a PR to improve the docs adding more clarification about that example, - that would be very welcome! Our docs are open-source: https://github.com/StackStorm/st2docs/blob/master/docs/source/rbac.rst |
Beta Was this translation helpful? Give feedback.
-
Hi I am encountering the same problem and user was added when I tried to add the user in the files/htpasswd. However, when I try to create permissions to the user, it seems that it is not being reflected to the user. What could be the problem here? |
Beta Was this translation helpful? Give feedback.
Which authentication method did you configure in your st2 instance? See https://docs.stackstorm.com/authentication.html
The documentation you were following with linux user/password refers to
PAM
: https://docs.stackstorm.com/authentication.html#auth-backendsIf you didn't change the auth method, the default is flat-file https://docs.stackstorm.com/authentication.html#authentication with configuration in the
/etc/st2/htpasswd
.Check your
st2.conf
first:st2/conf/st2.package.conf
Lines 45 to 49 in 4aac99b