Project

General

Profile

Actions

Bug #2890

open

[Mentors] Regular user is able to delete a mentor, even this functionality should be restricted to admins only.

Added by Sanja S about 1 year ago.

Status:
New
Priority:
Medium
Assignee:
Start date:
12/18/2024
Due date:
% Done:

0%

Estimated time:
Severity:
Moderate

Description

Environment
test
https://qainterrapt.brainster.xyz/login

Browser:
1.PC / Windows 10 V. 22H2 / Google Chrome Version 131.0.0.0 (Official Build) (64-bit)
2.Apple iPhone 11 / iOS Version 17.6.1 / Safari Version 17.6 on iOS 17.6 (Official Build) (24-bit)

Description
Regular user is able to delete a mentor by clicking on 'delete' button, even this functionality should be restricted to admins only.

Steps to reproduce:
1. Login as a regular user.
2. Click on the "Mentors" menu.
3. Find a record from the preregistered mentors.
4. Click on the red 'DELETE' button.
5. Validation message in a pop-up window appears.
6. Click on 'Yes, delete it!'
7. Observe the Action

Expected Result:
The 'DELETE' button should be disabled or hidden for regular users, and only accessible to admins, preventing them from deleting an mentor.

Actual Result:
Regular users are able to click the 'DELETE' button and delete a mentor, although this action should be restricted to admins only.

No data to display

Actions

Also available in: Atom PDF