[Bug] Non-admin access #418

Closed
opened 2025-04-29 17:25:06 +02:00 by corentin · 3 comments

Environment

  • Custom menu version:
  • Nextcloud version:
  • PHP version:
  • Web server (Nginx, Apache2):
  • Web browser and version (Firefox 80, Google Chrome 74, etc): Firefox 137.0.1

Question

Hi, thank you for your app :)

We have installed side_menu, and we can customize the menu aspect if we're an admin. If we're not an admin, a GET request to cloud.url/apps/side_menu/user/config returns a 403, and the js of the app then crashes.

If we add admin rights to a user, then the user can configure the side menu. Then if we remove admin privileges to the user, the config of side menu is still displayed (all the configured links), but the config page is now blank again, with the same 403 error on cloud.url/apps/side_menu/user/config.

Is this a normal behavior?

### Environment * Custom menu version: * Nextcloud version: * PHP version: * Web server (Nginx, Apache2): * Web browser and version (Firefox 80, Google Chrome 74, etc): Firefox 137.0.1 ### Question Hi, thank you for your app :) We have installed side_menu, and we can customize the menu aspect if we're an admin. If we're not an admin, a GET request to `cloud.url/apps/side_menu/user/config` returns a 403, and the js of the app then crashes. If we add admin rights to a user, then the user can configure the side menu. Then if we remove admin privileges to the user, the config of side menu is still displayed (all the configured links), but the config page is now blank again, with the same 403 error on `cloud.url/apps/side_menu/user/config`. Is this a normal behavior?
Owner

Hello!

This is a bug. I'm working on it.

Hello! This is a bug. I'm working on it.
deblan changed title from [Question] Non-admin access to [Bug] Non-admin access 2025-04-29 19:15:52 +02:00
deblan 2025-04-29 19:24:38 +02:00
Owner

Fixed in v5.0.2!

Fixed in v5.0.2!
Author

Hi, thank you for this very fast release!

Hi, thank you for this very fast release!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deblan/side_menu#418
No description provided.