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

Restrict post/page to specific user roles #46

Open
cs1m0n opened this issue May 13, 2022 · 1 comment
Open

Restrict post/page to specific user roles #46

cs1m0n opened this issue May 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@cs1m0n
Copy link
Member

cs1m0n commented May 13, 2022

The Members user role does not make sense for WP instances not belonging to any local organization, so that Visibility can't be used for that.

@cs1m0n cs1m0n added the enhancement New feature or request label May 13, 2022
@cs1m0n
Copy link
Member Author

cs1m0n commented May 13, 2022

The use case was to allow only a specific manually created user role to access a page.
I have fixed it by adding the "bcc-login-member" capability to that user role, and made the page available only to Members.

Worldwide members of the organization are a Subscriber (bcc-login-subscriber) but now only bcc-login-member users and user roles with this capability can access the posts/pages restricted to Members only.

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

No branches or pull requests

1 participant