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

Review the bp_view capability support in endpoints #506

Merged
merged 2 commits into from
May 24, 2024

Conversation

renatonascalves
Copy link
Member

@renatonascalves renatonascalves self-assigned this May 21, 2024
@renatonascalves renatonascalves changed the title Review the bp_view capability support in endpoints Review the bp_view capability support in endpoints May 21, 2024
@renatonascalves
Copy link
Member Author

Just a note that the GraphQL API, renatonascalves/wp-graphql-buddypress#124, took a different approach. We don't return an error but rather an empty result. Mainly because in GraphQL, fields can be nested (connections).

Copy link
Member

@imath imath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @renatonascalves another great job on this one 💪 . I would only remove the 'bp_view' check cap you added into the signups endpoint as anyway a higher cap is needed ('edit_users' or 'manage_network_users')

@renatonascalves renatonascalves merged commit 1c2baf3 into master May 24, 2024
8 checks passed
@renatonascalves renatonascalves deleted the feature/bp-view-feature branch May 24, 2024 13:29
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 this pull request may close these issues.

Review the bp_view capability support in endpoints
2 participants