mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
Revert "Security: Temporary grant all permissions"
This reverts commit 9b7e75a616e753e25cda033c86fab44e1281d7e9. 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)
|
||||
{
|
||||
return;
|
||||
if (! $this->Auth()->hasPermission($name)) {
|
||||
// TODO: Shall this be an Auth Exception? Or a 404?
|
||||
throw new IcingaException(
|
||||
|
Loading…
x
Reference in New Issue
Block a user