Test Result : Scenario: Adding Account:Read permission to user in sub-account scope

0 failures
29 tests
Took 12 ms.

All Tests

Test nameDurationStatus
And A generic user0 msPassed
And Account0 msPassed
And Account0 msPassed
And Account "subAccount1" has 0 children0 msPassed
And Account "subAccount1" has 1 children0 msPassed
And Add permissions to the last created user0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And An exception was thrown0 msPassed
And I add credentials0 msPassed
And I configure account service0 msPassed
And I configure user service0 msPassed
And I delete account "subAccount0"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I modify the account "kapua-sys"0 msPassed
And I modify the account "subAccount0"0 msPassed
And I select account "kapua-sys"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Adding Account:Read permission to user in sub-account scope12 msPassed
Then Account0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
Then I search for the account with the remembered account Id0 msPassed
When I delete account "kapua-sys"0 msPassed
When I login as user with name "user1" and password "ToManySecrets123#"0 msPassed