Skip to content

feat: Role-based visibility for sidebar items #2

@elvisMat

Description

@elvisMat

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
Image
This is how the form for the sidebar category
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions