I've looked through the docs, code and searched, but can't seem to find the answer I'm looking for.
It's common knowledge that you can check if a user has any moderator permissions set by querying
It's common knowledge that you can check if a user has any moderator permissions set by querying
$auth->acl_get('m_')
. What I'd like to do is create my own group of permissions to query (m_kb_
for example). I'm assuming I would need to create the m_kb_
permission in my migration, but after that, how can I check if a user has any m_kb_
permissions? I know I could probably use $auth->acl_gets()
and list each permission, but that seems excessive.Statistics: Posted by Kailey — Tue Aug 06, 2024 7:50 pm