And A regular trigger creator with the name "TestSchedule" and following properties | 0 ms | Passed |
And I add access role "Role1" to user "SubUser" in account "SubAccount" | 0 ms | Passed |
And I add credentials | 0 ms | Passed |
And I configure user service | 0 ms | Passed |
And I count 3 | 0 ms | Passed |
And I create an account with name "SubAccount", organization name "organization" and email adress "organization@gmail.com" | 0 ms | Passed |
And I create role "Role1" in account "SubAccount" | 0 ms | Passed |
And I create the access info entity in account "SubAccount" | 0 ms | Passed |
And I create the following role permissions in account "SubAccount" | 0 ms | Passed |
And I create the following role permissions in account "SubAccount" | 0 ms | Passed |
And I create user with name "SubUser" in account "SubAccount" | 0 ms | Passed |
And I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: job:read:-1:*" | 0 ms | Passed |
And I find account with name "SubAccount" | 0 ms | Passed |
And I find scheduler properties with name "Interval Job" | 0 ms | Passed |
And I login as user with name "SubUser" and password "User@10031995" | 0 ms | Passed |
And I login as user with name "SubUser" and password "User@10031995" | 0 ms | Passed |
And I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I search for the permissions of found role "Role1" in account "SubAccount" | 0 ms | Passed |
And I select the domain "job" | 0 ms | Passed |
And I select the domain "scheduler" | 0 ms | Passed |
And I try to create a new trigger entity from the existing creator | 0 ms | Passed |
And I try to delete last created trigger | 0 ms | Passed |
And I try to edit trigger name "TestSchedule1" | 0 ms | Passed |
And I try to find role with name "Role1" in account "SubAccount" | 0 ms | Passed |
And No exception was thrown | 0 ms | Passed |
And Scope with ID 1 | 0 ms | Passed |
And The account with name "kapua-sys" has 1 subaccount | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Add Scheduler permissions to the role in child account | 15 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then Role with name "Role1" in account "SubAccount" is found | 0 ms | Passed |
When I find scheduler properties with name "Interval Job" | 0 ms | Passed |