Open palourde opened 9 years ago
+1
You can define multiple users like this:
node.default['uchiwa']['settings']['users'] = [
{
"username" : "admin",
"password": "secret1",
"role": {
"readonly": false
}
},
{
"username" : "guest",
"password": "secret1",
"role": {
"readonly": true
}
}
]
Note that node['uchiwa']['settings']['pass'] is overwritten by this configuration.
A new attribute users is available which allow to define multiple users on the configuration file: http://docs.uchiwa.io/en/latest/configuration/uchiwa/#multiple-users-with-simple-authentication