Logo: Relish

  1. Sign in

Project: Virtual-conferences

Make sure visitors can't edit a piece of content

In order to ensure that users don't have access to the content admin
A visitor
Should not have access to the content admin
In order to protect the system from abuse

Background
Given
a basic event
Scenarios
  • @visitor_logged_in
Visitor should not have access to content admin
When
I open the content list
Then
I expect to not be allowed access
When
I edit content
Then
I expect to not be allowed access
When
I own the content
And
I edit content
Then
I expect to not be allowed access
  • @booth_rep_logged_in
Booth Reps should have access to view event admin
When
I open the content list
Then
I expect to be allowed access
When
I edit content
Then
I expect to not be allowed access
When
I own the content
And
I edit content
Then
I expect to be allowed access
  • @admin_logged_in
Admins should have access to content admin
When
I open the content list
Then
I expect to be allowed access
When
I edit content
Then
I expect to be allowed access

Last published over 5 years ago by Dev Ops.