February 20, 2016 at 2:16 pm
#24900
Joseph Jordan
Participant
Hello Syam,
We would specifically want to take the current check:
if(current_user_can('editor')) {
}
and make it something like “if current user has permission by how the permissions were selected in the article, then they can see the post”.
something like (if(current_user_can(‘read’)). But this meaning that the current user can only see those posts and article titles and article excerpts that were given permission.
Thank you,