Is "return true" the sane fallback for hasAppPermission?
Jasper Olbrich <[email protected]>
| Newsgroups | gmane.comp.horde.devel |
|---|---|
| Message-ID | <[email protected]> |
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
--
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]