Does this $loginUser (user info array) have system administrator rights? The optional $loginUser (array) argument allows a system administrator to check the rights of a different account.
Determine if this user have privileges on this account. Will not work if you did not authenticate using authenticate(), as it relies on $this->loginUser['domain'] to be set.