Having trouble with permissions

Status
This content is read-only, or is not open for further replies.

Matt C.

Guest
offline
Would someone mind taking a look at this for me? I feel like I'm losing my mind, because this should not be this difficult. Probably something really simple I'm overlooking:

I can't get these permission checks to resolve. I've double checked everything.

Code:

Code:
public function actionIndex(\XF\Mvc\ParameterBag $params)
{
    $visitor = \XF::visitor();

        if (!$visitor->hasPermission('mc_vgrc', 'view')) {
            return...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom