Enatega Admin Dashboard : When logged-in as a Vendor, its allowing to add another vendor.

Open
#1,283 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start in the Enatega Admin Dashboard by reproducing the issue with a vendor account and tracing the Add Vendor option and its permission checks. Done means a logged-in vendor cannot create another vendor and the Add Vendor option is hidden or disabled, while authorized users retain access.

Written by the indexing model from the issue text.

Description

Describe the bug
When logged in as a Vendor, the system allows the user to add another vendor. It should not allow to add another vendor once its logged-in as a vendor.

To Reproduce
Steps to reproduce the behavior:

Go to 'Enatega Admin Dashboard'
Log in as a vendor, now see error there its allowing to Add another vendor.
Expected behavior
A Vendor should not have permission to create or add another vendor.
The "Add Vendor" option should be hidden or disabled for vendors.

Screenshots

Image
Desktop (please complete the following information):

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

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

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.

More from patriciaperez90/react-native-based-uber-eats-clone-app

All issues in patriciaperez90/react-native-based-uber-eats-clone-app

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.