getAuthItems()

Hi

getAuthItems() doesn't seem to be returning an array of operations an account has access too, just simply an empty array. e.g:



<?php


...


print_r($auth -> getAuthItems(0, Yii::app() -> user -> id));


...


The user is assigned to a role with access to several operations.

Is this working as intended?

Chris

Yes, it’s by design that getAuthItems only returns the items that are directly assigned to the user.

Oks, thank you =)