zikula/core — pull request #2037 by lmm-git (2014-10-07 18:27:34+00:00)
Title: Fix checkPermission problem

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| 1.4 PR | I think a 1.4PR is necessary but I cannot test it at the moment.
| Refs tickets | -
| License | LGPLv3+
| Doc PR | -

This little patch fixes the call SecurityUtil::checkPermission($component, $instance, $level, $user != 0) for the case the user is NOT logged in. It used always the rules for unregistered users.