Tagged: API, BuddyPress Moderation Tools, endpoints
Hi Brajesh,
Are there any API endpoints available for BuddyPress Moderation Tools so that the block function (which works so well on through a web browser) could also be reflected in a mobile app?
At the moment if a Bob was to block Peter through a web browser version of our site, Peter can still see and interact with Bob through our app. Is it possible to prevent this from happening?
Thank you.
Hi Nifty,
Thank you for reporting the issue.In case of web, we are preventing by checking before the ajax requests. For the API, we will need to check if the particular end points(adding friend/sending message etc) have any filter for validation/permissions check.
I will report in next 2 days if there ae filters available in BuddyPress REST API and if we can do it.
Thank you
BrajeshHi Nifty,
Thank you for the patience.I have checked and I can see there are hooks available for checking permissions t the rest end points. We will be enabling support for preventing the interaction(It will prevent actual message from being sent etc). The experience may not feel native as the button will be controlled via client and may not be hidden.
Regards
BrajeshHi,
I am sorry for the late reply. We will have a release by this weekend.Regards
Brajesh
You must be logged in to reply to this topic.