Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Feature: User management
As an administrator,
I can define users selecting roles with every role able to view observations,
So that users have access to intended information.
@todo
Scenario: User with admin rights can create users
Given User has admin rights
When User logs in to user management
Then User can create other users
And User can change own password
@todo
Scenario: User without admin rights can't create users
Given User has no admin rights
When User logs in to user management
Then User cannot create other users
And User can change own password
@todo
Scenario: User without observation_read rights can't read observations
Given User has no observation_read rights
When User logs in to view observations
Then User cannot view observations
@todo
Scenario: User with observation_read rights can read observations
Given User has observation_read rights
When User logs in to view observations
Then User can view observations
@todo
Scenario: Change password as non-admin
Given I am a user
When I change my password
Then I can login with my new password
@todo
Scenario: Change password as admin
Given I am an admin
When I change user's password
Then I can login with my new password
@todo
Scenario: Delete user as admin
Given I am an admin
When I delete user
Then user is unable to login
@todo
Scenario: Recover lost password for admin
Given I am an admin
When I recover lost password
Then I can login with my new password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment