Bassa icon indicating copy to clipboard operation
Bassa copied to clipboard

[Bug] Admin section not accessible after refresh

Open rajikaimal opened this issue 7 years ago • 5 comments

After creating an account with Admin rights, navigating to the admin tab works fine. But after a refresh toast comes up with 'You don't have admin previlages'.

Expected Behavior

It should show up the admin section.

Current Behavior

Toast comes up showing 'You don't have admin previlages'.

Steps to Reproduce (for bugs)

  1. Create an account with Admin privileges.
  2. Navigate to admin tab/section.
  3. Refresh

Your Environment

  • Environment name and version (e.g. Chrome 39, node.js 5.4): Node.js v6.10.0, Python 3.5
  • Operating System and version (desktop or mobile): Desktop

I'm suspecting this as a bug. Hope @malithsen can give any info regarding this behavior :rocket:

rajikaimal avatar Apr 13 '17 05:04 rajikaimal

I can work on this, if this is confirmed as a bug.

rajikaimal avatar Apr 13 '17 05:04 rajikaimal

@rajikaimal Can confirm this as a bug

malithsen avatar May 01 '17 11:05 malithsen

Yes it is indeed a bug. :+1:

saisankargochhayat avatar May 07 '17 02:05 saisankargochhayat

@rajikaimal This seems to still exist and I think we need to work on the API server for this. @vivonk any thoughts about this?

kmehant avatar Jun 04 '19 10:06 kmehant

I feel the token is doing things somewhere wrong or admin check code is breaking. Will look into this asap before release. @kmehant thanks for reporting it :)

vivonk avatar Jun 05 '19 06:06 vivonk