Test Result : Scenario: Create with permissions and a role in the wrong scope
0 failures
15 tests
All Tests
Test name | Duration | Status |
---|---|---|
And I create the domain | 0 ms | Passed |
And I have the following user | 0 ms | Passed |
And The permissions "read, write, execute" | 0 ms | Passed |
And The role "test_role_1" | 0 ms | Passed |
Given I expect the exception "KapuaAuthorizationException" with the text "Role not found in the scope:" | 0 ms | Passed |
Given Scope with ID 10 | 0 ms | Passed |
Given Scope with ID 10 | 0 ms | Passed |
Given Scope with ID 20 | 0 ms | Passed |
Scenario: Create with permissions and a role in the wrong scope | 6 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then I logout | 0 ms | Passed |
When I configure the role service for the account with the id 20 | 0 ms | Passed |
When I configure the user service for the account with the id 10 | 0 ms | Passed |
When I create the access info entity | 0 ms | Passed |
When I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |