gray-mueller / gray-mueller/food-delivery-app-android-studio-java
Enatega Admin Dashboard : When logged-in as a Vendor, its allowing to add another vendor.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
Research direction
Start in the Enatega Admin Dashboard's vendor-management entry point and trace how the logged-in vendor role is handled around the Add Vendor option. Verify the permission behavior for vendors and for roles that should retain vendor-creation access, then confirm that a vendor cannot see or use the option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100