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.44
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 /
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-r--r--
addnewuser.feature
827
B
-rw-r--r--
behat_user.php
3.19
KB
-rw-r--r--
bulk_editenrolment.feature
2.93
KB
-rw-r--r--
bulk_message.feature
1.49
KB
-rw-r--r--
course_preference.feature
1.47
KB
-rw-r--r--
custom_profile_fields.feature
10.78
KB
-rw-r--r--
delete_users.feature
4.62
KB
-rw-r--r--
edit_user_enrolment.feature
6.83
KB
-rw-r--r--
edit_user_roles.feature
1.62
KB
-rw-r--r--
edituserpassword.feature
2.38
KB
-rw-r--r--
enrol_cohort_list.feature
2.23
KB
-rw-r--r--
filter_idnumber.feature
3.18
KB
-rw-r--r--
filter_participants.feature
46.51
KB
-rw-r--r--
filter_participants_showall.fe...
6.73
KB
-rw-r--r--
full_name_display.feature
4.68
KB
-rw-r--r--
hidden_user_fields.feature
2.09
KB
-rw-r--r--
input-purpose.feature
2
KB
-rw-r--r--
name_fields.feature
3.02
KB
-rw-r--r--
participants_in_group_modes.fe...
9.9
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
reset_page.feature
915
B
-rw-r--r--
set_default_homepage.feature
2.54
KB
-rw-r--r--
set_email_display.feature
3.25
KB
-rw-r--r--
table_column_visibility.featur...
2.44
KB
-rw-r--r--
table_sorting.feature
3
KB
-rw-r--r--
user_grade_navigation.feature
4.61
KB
-rw-r--r--
view_full_profile.feature
5.15
KB
-rw-r--r--
view_participants.feature
15.19
KB
-rw-r--r--
view_participants_groups.featu...
3.38
KB
-rw-r--r--
view_preferences_page.feature
3.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view_preferences_page.feature
@core @core_user Feature: Access to preferences page In order to view the preferences page As a user I need global permissions to view the page. Background: Given the following "users" exist: | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | | student2 | Student | 2 | student2@example.com | | manager1 | Manager | 1 | manager1@example.com | | teacher1 | Teacher | 1 | teacher1@example.com | | parent | Parent | 1 | parent1@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | | Course 2 | C2 | topics | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | | student2 | C1 | student | | teacher1 | C1 | editingteacher | And the following "system role assigns" exist: | user | course | role | | manager1 | Acceptance test site | manager | Scenario: A student and teacher with normal permissions can not view another user's permissions page. Given I log in as "student1" And I am on "Course 1" course homepage And I navigate to course participants And I follow "Student 2" And I should not see "Preferences" in the "region-main" "region" And I log out And I log in as "teacher1" And I am on "Course 1" course homepage When I navigate to course participants And I follow "Student 2" Then I should not see "Preferences" in the "region-main" "region" Scenario: Administrators and Managers can view another user's permissions page. Given I log in as "admin" And I am on "Course 1" course homepage And I navigate to course participants And I follow "Student 2" And I should see "Preferences" in the "region-main" "region" And I log out And I log in as "manager1" And I am on "Course 1" course homepage When I navigate to course participants And I follow "Student 2" Then I should see "Preferences" in the "region-main" "region" Scenario: A user with the appropriate permissions can view another user's permissions page. Given I log in as "admin" And I am on site homepage And I follow "Turn editing on" And I add the "Mentees" block And I navigate to "Users > Permissions > Define roles" in site administration And I click on "Add a new role" "button" And I click on "Continue" "button" And I set the following fields to these values: | Short name | Parent | | Custom full name | Parent | | contextlevel30 | 1 | | moodle/user:editprofile | 1 | | moodle/user:viewalldetails | 1 | | moodle/user:viewuseractivitiesreport | 1 | | moodle/user:viewdetails | 1 | And I click on "Create this role" "button" And I navigate to "Users > Accounts > Browse list of users" in site administration And I follow "Student 1" And I click on "Preferences" "link" in the ".profile_tree" "css_element" And I follow "Assign roles relative to this user" And I follow "Parent" And I set the field "Potential users" to "Parent 1 (parent1@example.com)" And I click on "Add" "button" in the "#page-content" "css_element" And I log out And I log in as "parent" And I am on site homepage When I follow "Student 1" Then I should see "Preferences" in the "region-main" "region"
Close