Revert "Security: Temporary grant all permissions"
This reverts commit 9b7e75a616
.
Patching function hasPermission is not enough. A fix will follow.
This commit is contained in:
parent
9a59f3529c
commit
ef0a7c0e77
|
@ -192,7 +192,6 @@ class ActionController extends Zend_Controller_Action
|
||||||
*/
|
*/
|
||||||
public function assertPermission($name)
|
public function assertPermission($name)
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
if (! $this->Auth()->hasPermission($name)) {
|
if (! $this->Auth()->hasPermission($name)) {
|
||||||
// TODO: Shall this be an Auth Exception? Or a 404?
|
// TODO: Shall this be an Auth Exception? Or a 404?
|
||||||
throw new IcingaException(
|
throw new IcingaException(
|
||||||
|
|
Loading…
Reference in New Issue