mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +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)
|
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…
x
Reference in New Issue
Block a user