[dev] Is "return true" the sane fallback for hasAppPermission?
Jasper Olbrich
jasper.olbrich at students.uni-marburg.de
Mon Jul 21 09:35:06 UTC 2014
Hi,
I just stumbled upon the function hasAppPermission in Horde/Core/Perms.php:
if ($this->_perms->exists($app . ':' . $permission)) {
// determine permission
}
return true;
Is this "return true;" intentional? In our case, this made everyone
"Resource Manager" in Kronolith untill we created the corresponding
permission and set it up appropriately.
--
Regards,
Jasper
More information about the dev
mailing list