azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.13k stars 112 forks source link

[BUG]: ServApp Routes that are not defined as 'admin only' are not available to normal users #73

Closed Ronald-Diemicke closed 1 year ago

Ronald-Diemicke commented 1 year ago

What happened?

So the user permissions model seems to need some work because "users" can only see proxy routes and such that you haven't required admin rights for; but ServApp routes won't appear for "users" at all regardless of if you've specified if they're for an admin or not.

What should have happened?

I'd expect all routes to be available to users unless specified as a route that's admin only.

How to reproduce the bug?

  1. Create a route for a ServApp
  2. Create a user
  3. Login as that user, notice the ServApp route isn't available

Relevant log output

No response

Other details

No response

System details

azukaar commented 1 year ago

Thanks for report! Fixed in 0.9.19