mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
c6eb3cd2c7
commit
3d6ae6ac26
@ -237,13 +237,16 @@ class User
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Settter for restrictions
|
* Set the user's restrictions
|
||||||
*
|
*
|
||||||
* @param array $restrictions
|
* @param string[] $restrictions
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setRestrictions(array $restrictions)
|
public function setRestrictions(array $restrictions)
|
||||||
{
|
{
|
||||||
$this->restrictions = $restrictions;
|
$this->restrictions = $restrictions;
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user