wanderlust icon indicating copy to clipboard operation
wanderlust copied to clipboard

[BUG] I can access /admin-blog page, even if I have not logged in

Open krishnaacharyaa opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

If i access directly via url https://wanderlust-beta.vercel.app/add-blog without logging in, I can easily view the page.

Expected Behavior

Ideally only if the user is authenticated he should be let to view the page, else we should show page of "Oops sorry you are not authorized for this page"

Reproduction steps

1. Don't login 
2. Go to https://wanderlust-beta.vercel.app/add-blog
3. You'll be able to view the page

Screenshots

No response

Logs

No response

Browsers

No response

OS

No response

krishnaacharyaa avatar May 05 '24 07:05 krishnaacharyaa

cc: @0xmohitsen

krishnaacharyaa avatar May 05 '24 07:05 krishnaacharyaa

can i work on this sir please assign me @krishnaacharyaa

Ameerjafar avatar May 06 '24 16:05 Ameerjafar

Hi @Ameerjafar Can you kindly let us know your approach and ETA? And kindly refer the above PR, it says this issue has dependency with #172 issue. So ideally we need to solve it and then get back to this

krishnaacharyaa avatar May 06 '24 16:05 krishnaacharyaa

Hi there! I'm excited to contribute to this project and would love to work on this issue. Could you please assign it to me? Thanks!

thefarhanahmad avatar May 09 '24 18:05 thefarhanahmad

kindly assign this task to me.I can help with this bug

bikashsahh avatar May 12 '24 16:05 bikashsahh

@bikashsahh @thefarhanahmad Code-of-conduct

krishnaacharyaa avatar May 12 '24 17:05 krishnaacharyaa

Closed as resolved

krishnaacharyaa avatar Jun 18 '24 01:06 krishnaacharyaa