mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
123488cfc0
commit
32c6a03000
@ -49,19 +49,6 @@ class Role
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a permission to the role
|
||||
*
|
||||
* @param string $permission
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function addPermission($permission)
|
||||
{
|
||||
$this->permissions[$permission] = $permission;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the permissions of the role
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user