And I add access role "test_role" to user "user1" | 0 ms | Passed |
And I add credentials | 0 ms | Passed |
And I configure user service | 0 ms | Passed |
And I create the access info entity | 0 ms | Passed |
And I create the following role | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create user with name "user1" | 0 ms | Passed |
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: datastore:read:" | 0 ms | Passed |
And I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
And I logout | 0 ms | Fixed |
And I logout | 0 ms | Fixed |
And I logout | 0 ms | Fixed |
And I logout | 0 ms | Skipped |
And I search for data message with id "fake-id" | 0 ms | Fixed |
And I search for data message with id "fake-id" | 1 ms | Failed |
And I select account "kapua-sys" | 0 ms | Passed |
And I select the domain "datastore" | 0 ms | Passed |
And I select the domain "device" | 0 ms | Passed |
And No exception was thrown | 0 ms | Skipped |
And Scope with ID 1 | 0 ms | Passed |
And The device "test-device-1" | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Add datastore permissions to the role | 2 ms | Failed |
Then I don't find message | 0 ms | Skipped |
Then I login as user with name "user1" and password "User@10031995" | 0 ms | Passed |
When I login as user with name "user1" and password "User@10031995" | 0 ms | Passed |