How does og determine whether a user have permission to views its post?

Created on 20 October 2010, about 14 years ago
Updated 27 October 2024, about 2 months ago

Hi,

What I want is to edit the view : og_ghp_ron, by adding some php code which will generate proper promption as "Empty text" when the display is empty.

E.g, if the user has access to view the post, then say "There is no content", otherwise give "Permission denied"

So, I am wondering what function / mechanism should I use for this purpose?

Thanks.

Hang

πŸ’¬ Support request
Status

Closed: outdated

Version

2.1

Component

og.module

Created by

πŸ‡ΊπŸ‡ΈUnited States foredoc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024