I'm testing Role assignment and updating from Postman and I'm not getting the expected results. I'm successfully creating users, but no matter how many roles I assign, I get back these:
...
"Roles": [
"Client",
"CanChangePassword",
"CanManageMySettings"
],
...
It's puzzling because I copied and pasted the example JSON code for creating an Employee rather than a Client, and then added all the roles that I have as an Administrator. When I query my admin login, I get the big list of roles; when I query the user I created, I just get the three.
I also copied the JSON that came back when I queries my admin user and then turned it into a create JSON query (left out the id and other things assigned by the system; uniqueified the email and user name), but - again - I just get back this:
...
"Roles": [
"Client",
"CanChangePassword",
"CanManageMySettings"
],
...
Same goes for trying to PATCH or POST to add/assign roles.
What am I missing? I have RTFM'd, but maybe I'm just not seeing it...?
...
"Roles": [
"Client",
"CanChangePassword",
"CanManageMySettings"
],
...
It's puzzling because I copied and pasted the example JSON code for creating an Employee rather than a Client, and then added all the roles that I have as an Administrator. When I query my admin login, I get the big list of roles; when I query the user I created, I just get the three.
I also copied the JSON that came back when I queries my admin user and then turned it into a create JSON query (left out the id and other things assigned by the system; uniqueified the email and user name), but - again - I just get back this:
...
"Roles": [
"Client",
"CanChangePassword",
"CanManageMySettings"
],
...
Same goes for trying to PATCH or POST to add/assign roles.
What am I missing? I have RTFM'd, but maybe I'm just not seeing it...?