I’m using DF V2.0-beta3. But I have some troubles to set the correct user rights.
What I did:
- I created a new role. I set access (only) to my service (SQL DB) for one component with POST access.
- Then I defined a new no storage app and assigned the new role as a default role.
- Then I created a new user with a (fake) email address and set the password manually. Under roles for my new app I selected my new role.
But I can’t use the service with this new user.
The error log shows this:
[Wed Oct 21 15:43:57.432136 2015] [:error] [pid 1388:tid 1092] [client xxx.xxx.xxx.xxx:xxxxx] REST Exception #401 > Unauthorized. User credentials did not match.
The access log shows this (first line is the successful call with my admin login, second line is the error):
xxx.xxx.xxx.xxx - firstname.lastname@example.org [21/Oct/2015:15:43:53 +0200] "POST /api/v2/xxx/_proc/xxx HTTP/1.1" 200 146 xxx.xxx.xxx.xxx - email@example.com [21/Oct/2015:15:43:57 +0200] "POST /api/v2/xxx/_proc/xxx HTTP/1.1" 401 7754
Which configuration did I mess up?