wooey / Wooey

A Django app that creates automatic web UIs for Python scripts.
http://wooey.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.11k stars 183 forks source link

fix log-out permission issue #398

Closed kawanoii closed 2 months ago

kawanoii commented 5 months ago

registered user does not have admin module permission, and cannot use admin:logout, remove admin tag from url

Chris7 commented 4 months ago

Can you give a stacktrace? this doesn't really make sense to me, admin is not a permission, but an app name.

kawanoii commented 4 months ago

Try to log out with a normal user, not a staff user and not a supervisor user. Registered users are not permitted to access admin:logout

https://github.com/wooey/Wooey/assets/61106070/d270a6e5-a795-4175-9d2e-2cc79ee7c6fa

Chris7 commented 2 months ago

I believe this is actually due to a redirect in the logout for the fly.dev site, not the url resolution itself. It's a misconfiguration there that needs to be resolved.

kawanoii commented 2 months ago

whatever