Test Result : Scenario: Delete permissions from role

0 failures
18 tests
Took 13 ms.

All Tests

Test nameDurationStatus
And I add access role "test_role" to user "user1"0 msPassed
And I add credentials0 msPassed
And I configure user service0 msPassed
And I create the access info entity0 msPassed
And I create the following role0 msPassed
And I create the following role permissions0 msPassed
And I create user with name "user-test"0 msPassed
And I create user with name "user1"0 msPassed
And I delete role permissions0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission to perform this action. Missing permission: user:write:1:*. Please perform a new login to refresh users permissions."0 msPassed
And I login as user with name "user1" and password "User@10031995"0 msPassed
And I logout0 msPassed
And I logout0 msPassed
And I select the domain "user"0 msPassed
And Scope with ID 10 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Delete permissions from role13 msPassed
Then An exception was thrown0 msPassed