To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorRedirects after login
- Background
-
- Given
- there is an initial admin
- Scenarios
-
- Leihs admin only
- Leihs admin and manager
- Leihs admin and procurer
- Leihs admin and customer
- Manager of different pools
- Customer only
- Procurer only
- Customer and procurer
- Procurer and manager
- User with no access whatsoever
- Leihs admin only
-
- Given
- there is a user
- And
- the user is leihs admin
- When
- I log in as the user
- Then
- I am redirected to "/admin/"
- Leihs admin and manager
-
- Given
- there is a user
- And
- the user is leihs admin
- And
- the user is inventory manager of some pool
- When
- I log in as the user
- Then
- I am redirected to "/admin/"
- Leihs admin and procurer
-
- Given
- there is a user
- And
- the user is leihs admin
- And
- the user is procurement admin
- When
- I log in as the user
- Then
- I am redirected to "/admin/"
- Leihs admin and customer
-
- Given
- there is a user
- And
- the user is leihs admin
- And
- the user is customer of some pool
- When
- I log in as the user
- Then
- I am redirected to "/admin/"
- Manager of different pools
-
- Given
- there is a user
- And
- the user is group manager of pool A
- And
- the user is inventory manager of pool B
- When
- I log in as the user
- Then
- I am redirected to the inventory path of pool B
- Customer only
-
- Given
- there is a user
- And
- the user is customer of some pool
- When
- I log in as the user
- Then
- I am redirected to "/borrow"
- Procurer only
-
- Given
- there is a user
- And
- the user does not have any pool access rights
- And
- the user is procurement requester
- When
- I log in as the user
- Then
- I am redirected to "/procure/requests"
- Customer and procurer
-
- Given
- there is a user
- And
- the user is procurement requester
- And
- the user is customer of some pool
- When
- I log in as the user
- Then
- I am redirected to "/borrow"
- Procurer and manager
-
- Given
- there is a user
- And
- the user is procurement requester
- And
- the user is inventory manager of some pool
- When
- I log in as the user
- Then
- I am redirected to the inventory path of the pool
- User with no access whatsoever
-
- Given
- there is a user
- And
- the user has no access whatsoever
- When
- I log in as the user
- Then
- I am redirected to "/my/user/me"
Last published 6 days ago by mkmit.