Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook to filter the switch to user link #53

Closed
raftaar1191 opened this issue Apr 20, 2020 · 2 comments
Closed

Hook to filter the switch to user link #53

raftaar1191 opened this issue Apr 20, 2020 · 2 comments

Comments

@raftaar1191
Copy link

Need a filter to sort the switch to URL link, So if we custom admin do not want to allow the switch to this user role or user then they can use this filter

raftaar1191 added a commit to raftaar1191/user-switching that referenced this issue Apr 20, 2020
@johnbillion
Copy link
Owner

Thanks for the issue @raftaar1191, I've commented on your PR. Cheers!

@raftaar1191
Copy link
Author

Hey, @johnbillion I created this filter so that admin can sort the switch user button option on user role.

Example: If there are three role Admin, Editor, and Author. By default we allow all the user to switch to diff account

But I do not want the author user to switch to editor user role but editor user role can switch to author role

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

Successfully merging a pull request may close this issue.

2 participants