Logo: Relish

  1. Sign in

Project: Lombard

User manages permissions

In order to manage users in the system
As an admin viewing the permissions list
I want to add a new permission

Background
Given
the following surveys:
title reference_identifier
Acme Lombard
And
the following permissions:
action subject_type subject_id
manage Survey 1
And
I am signed in as an admin
And
I am on the permissions page
Scenarios
Scenario
When
I follow "New Permission"
And
I select "manage" from "Action"
And
I select "Survey" from "Subject type"
And
I press "Create Permission"
Then
I should see "manage"
And
I should see "Survey"
  • @javascript
Scenario
When
I follow "Edit"
And
I select "read" from "Action"
And
I select "Survey" from "Subject type"
And
I press "Update Permission"
Then
I should see "read"
And
I should see "Survey"

Last published over 5 years ago by wminsinger.