Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2212

Extension Writers Discussion • Check user permissions by user id

$
0
0
Is there a way to check a users permissions when it's not the currently authenticated user? I'm aware that I can do the following:

Code:

$this->acl_get( 'u_hide_verified_badge' )
But this checks the currently authenticated user. I want to check a different user by ID and I'm not entirely sure if this is possible. I've checked the documentation but it only mentions passing a forum ID to the acl_get function.

I'm sure this is possible. I just don't know how to do it ;)

Statistics: Posted by danieltj — Sun May 19, 2024 3:58 pm



Viewing all articles
Browse latest Browse all 2212

Trending Articles