Currently, all sidebar items are visible to every user regardless of their role. This creates unnecessary clutter for users who have no access to or need for certain sections.
Proposed solution: Allow sidebar items to be configured with a roles property, so that each link is only shown to users with the relevant role.
Example: In a marketplace, a vendor should not see Management Links like "Users" or "Settings".
An implementation for this is already there on my fork, i just want to confirm this aligns with the project's direction before opening a PR.
This is how the form for the sidebar menu item would look like
This is how the form for the sidebar category

Currently, all sidebar items are visible to every user regardless of their role. This creates unnecessary clutter for users who have no access to or need for certain sections.
Proposed solution: Allow sidebar items to be configured with a roles property, so that each link is only shown to users with the relevant role.
Example: In a marketplace, a vendor should not see Management Links like "Users" or "Settings".
An implementation for this is already there on my fork, i just want to confirm this aligns with the project's direction before opening a PR.
This is how the form for the sidebar menu item would look like
This is how the form for the sidebar category