And A generic user | 0 ms | Passed |
And Add permissions to the last created user | 0 ms | Passed |
And I add credentials | 0 ms | Passed |
And I create endpoint with schema "endpoint1", domain "com" and port 20000 | 0 ms | Passed |
And I delete endpoint with schema "end2", domain "com" and port 20000 | 0 ms | Passed |
And I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
And I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
And I login as user with name "user1" and password "ToManySecrets123#" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I select account "kapua-sys" | 0 ms | Passed |
And Scope with ID 1 | 0 ms | Passed |
Given I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:read:" | 0 ms | Passed |
Given I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:write:*:*" | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Add Endpoint Permission To The User | 14 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then I login as user with name "user1" and password "ToManySecrets123#" | 0 ms | Passed |
Then I logout | 0 ms | Passed |
Then I logout | 0 ms | Passed |
Then I logout | 0 ms | Passed |
Then No exception was thrown | 0 ms | Passed |
Then No exception was thrown | 0 ms | Passed |
When I create endpoint with schema "end2", domain "com" and port 20000 | 0 ms | Passed |
When I delete endpoint with schema "end2", domain "com" and port 20000 | 0 ms | Passed |
When I expect the exception "SubjectUnauthorizedException" with the text "Missing permission: endpoint_info:delete:*:*" | 0 ms | Passed |
When I try to find endpoint with schema "endpoint1" | 0 ms | Passed |
When I try to find endpoint with schema "endpoint1" | 0 ms | Passed |