fssa-batch3 / fssa-batch3/saran.selvaraj__web_project
Showing Edit and Delete button if customer also logged in
- Dominant language
- HTML
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Description of issue
upon login of the user they can also delete and edit the seller uploaded product
### Expected result
not to show edit and delete button when customer entered to my website
### Actual result
showing edit and delete button for the product if user loged in
### Steps to reproduce
1. when user logged in remove edit button
2.when user logged in remove delete button
3.
```
Path: /
Browser: Chrome 111.0.0.0 on Windows 10
Viewport: 1504 x 860 @1.5x
Language: en-US
Cookies: Enabled
```
[Open in BrowserStack](https://www.browserstack.com/user/try-live?url=https%3A%2F%2Fdeploy-preview-1--petmall-saran.netlify.app%2F&os=Windows&os_version=10&browser=Chrome&browser_version=111.0&resolution=1504x860&speed=1&start=true&ref=netlify-source)
Submitted from [Netlify Deploy Preview #1](https://deploy-preview-1--petmall-saran.netlify.app/)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the root path (/) and reproduce the issue in Chrome using the linked Netlify deploy preview. Inspect where product edit and delete controls are rendered and verify the logged-in customer and seller views; done means customers cannot see either control while sellers retain the appropriate controls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- authorization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100