Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Sidebar Permission Control with RegisterOperatorRoute #118

Open
Zachary-work opened this issue Nov 4, 2019 · 0 comments
Open

Sidebar Permission Control with RegisterOperatorRoute #118

Zachary-work opened this issue Nov 4, 2019 · 0 comments

Comments

@Zachary-work
Copy link

From my understanding, we can't control some of the sidebar items to be accessible by only a group of users with the RegisterOperatorRoute function.

For example,
I want to create an advanced setting plugin which is only accessible by admin and a custom group of user, with RegisterOperatorRoute, seems like I can't do that.

Therefore, I would like to suggest this feature, and I think it will be very useful in a lot of cases.

Maybe we can do that by adding a permission filter function for filtering in /reaction-platform/reaction/imports/client/ui/components/Sidebar/Sidebar.js those unnecessary items.

May I know if it is possible or if there is already an existing feature will be able to do the same thing. >"<

Thank you for your kind attention.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant