And I configure user service | 0 ms | Passed |
And I count 1 | 0 ms | Passed |
And I count the roles in scope 1 | 0 ms | Passed |
And I create an account with name "SubAccount", organization name "Organization" and email address "test@test.com" | 0 ms | Passed |
And I create the access info entity in account "SubAccount" | 0 ms | Passed |
And I create user with name "TestUser" in account "SubAccount" | 0 ms | Passed |
And I expect the exception "KapuaEntityNotFoundException" with the text "The entity of type role with id/name 1 was not found" | 0 ms | Passed |
And I find a role with name "admin" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And Scope with ID 1 | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Adding "admin" role to a user in a child account | 15 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
When I add access role "admin" to user "TestUser" in account "SubAccount" | 0 ms | Passed |