• We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
M

Having trouble with permissions

M

Matt C.

Guest

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...
 
Similar threads Most view View more
Back
Top