Security: Temporary grant all permissions

We'll introduce permissions and restrictions in the next hours. Because our web setup
does not configure permissions yet, all permissions are granted for all users from now on.
This commit is contained in:
Eric Lippmann 2015-01-22 15:20:38 +01:00
parent f16aac5154
commit 9b7e75a616
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ class ActionController extends Zend_Controller_Action
*/
public function assertPermission($name)
{
return;
if (! $this->Auth()->hasPermission($name)) {
// TODO: Shall this be an Auth Exception? Or a 404?
throw new IcingaException(