sullysnack
9 years agoKhoros Alumni (Retired)
API for /view/allowed state of a board, but not for current user
Hi Lithium developers,
In a custom component, on a forum topic page, is there a way to figure if the topic's board node is publicly viewable?
I am familiar with this REST API call:
/boards/id/${board.id}/view/allowed
but it seems to give true or false only for the current user based on his/her role permissions. Say the current user is an admin or a moderator, can the custom component know if topics in the current board can be visited by an anonymous visitor?
Thanks,
Dave