Sha256: 9f426e19c151e23659977dad0dc840fab86a5d2eb216557940c3dc07e56242ea

Contents?: true

Size: 843 Bytes

Versions: 3

Compression:

Stored size: 843 Bytes

Contents

@permissions
Feature: Add Individual Permissions
  As a user with edit permissions
  In order to edit who has which levels of access to a document
  I want to see and edit the object-level permissions for users and groups
  
  Scenario: Editing group permissions
    Given I am logged in as "archivist1@example.com" 
    And I am on the edit document page for hydrangea:fixture_mods_article1
    And I fill in "permission_actor_id" with "cucumber_user"
    And I select "Read & Download" from "permission_level"
    When I press "Add Permissions"
    Then I should see "cucumber_user has been granted read permissions for hydrangea:fixture_mods_article1"
    And "Read & Download" should be selected from "cucumber_user" within "form#permissions_metadata"
    And "Discover" should be selected from "Public" within "form#permissions_metadata"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre3 test_support/features/permissions_add.feature
hydra-head-3.0.0pre2 test_support/features/permissions_add.feature
hydra-head-3.0.0pre1 test_support/features/permissions_add.feature