Users Permission impacting navigation Items visibility

Hi team, i'm attempting to implement permissions to a group of users to only be able to access certain apps, which so far has worked good. The only issue that i'm having is with the navigation module that I built to be used across all the apps, which is not showing all the items the user has access unless permission is also given to a specific one.

The below is a basic example of how we have the structure of the navigation component and their parent/child relation, which are all pointing to certain apps inside Retool.

  • Home
  • User
    • User Management
    • User Settings
    • Reports
  • Cases
    • Create Cases
    • Delete Cases

Now, when I have a Permission Group only with access to "Reports", the expected behaviour is to see on the "User" with the dropdown to see then "Reports". But in reality, the user is not able to see any of the options, unless "User Settings" is also added to the permissions of the user, which then I do see the dropdown with both "Reports" and "User Settings".

This basically forces me to allow users access to apps that they are not intended to have.

Note: At some point I did tested to have the item pointing directly to the app URL instead of the APP, which still caused this behaviour (even weirder...)

Any advices on this one?

Thanks in advance!

Hi @DanielJudge Thanks for reaching out! Any chance you could share the logic that you're using for User, User Settings, Reports, and User Management?

I haven't been able to reproduce this issue on my side yet (as far as I know, this use case should be doable :slight_smile: )

Hi @Tess !

There not any specific logic. I have a module being used as a sidebar menu, and the following are some of the menu items where I can reproduce this behaviour.

Screenshot 2024-05-07 at 11.46.29

They are all leveraging similar logic where the item is simply redirecting to another app.

Screenshot 2024-05-07 at 11.47.55

The following are the permissions of the apps that I want to give access to users.

Screenshot 2024-05-07 at 11.44.37

But unless I also provide access to the "Call Assessment" app, the dropdown will not render. It is like the "call assessment" is mandatory in order for the dropdown menu to render.

Let me know if you need further clarification or info on this one!

Hi @Tess ! Is there any feedback you can provide around this behaviour? Thank you!

Just to update that found the culprit.

Seems that before I adding sub-items, the main item was pointing to an app, which explains why when I removed the permissions to that app, the entire menu item would be hidden.

The trick was to ungroup all the children, make the main item point to nowhere, and then group them again.

Hi @DanielJudge Apologies for the delay here! That makes sense! Thanks so much for sharing how you solved this :pray: