Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native

Enatega Admin Dashboard : Unauthorized Data Display on Admin Dashboard to new user logged-in.

Open
#848 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The admin dashboard displays data that is not relevant to the user's position, allowing users to view information they should not have access to. For example if a vendor logs-in to admin dashboard he should only be allowed to see the data relevant to his position not overall or un-necessary information.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Admin Dashboard'
Login as new user for example as new Vendor.
See error , now see admin dashboard displays data that is not relevant to the user's position, allowing users to view information they should not have access to.
Expected behavior
The dashboard should display only the data that is relevant to the logged-in user's role or position.
Users should not see data that belongs to other roles or departments.

Screenshots

Image Image
Desktop (please complete the following information):

OS: [e.g. Windows]
Browser [e.g. Chrome]
Version [e.g. Latest]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Enatega Admin Dashboard by reproducing the issue with a newly logged-in Vendor account. Trace which dashboard data is shown for that role and compare it with the expected role-specific visibility. Done means users see only data relevant to their role and cannot view information belonging to other roles or departments.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
authorization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.