Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_admin @core_admin_roles
2
Feature: Highlight non-inherited permissions
3
  In order that the status of capabilities can be more easily seen
4
  As an admin
5
  I need altered permissions to be highlighted
6
 
7
  Background:
8
    Given the following "courses" exist:
9
      | fullname        | shortname   |
10
      | Course fullname | C_shortname |
11
    And I log in as "admin"
12
 
13
  @javascript
14
  Scenario: Override a permission
15
    Given I am on the "Course fullname" "permissions" page
16
    And I select "Manager (0)" from the "roleid" singleselect
17
    And I click on "Prohibit" "radio" in the "View added and updated modules in recent activity block" "table_row"
18
    And I press "Save changes"
19
    And I select "Manager (1)" from the "roleid" singleselect
20
    Then the "class" attribute of "View added and updated modules in recent activity block" "table_row" should contain "overriddenpermission"