mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
parent
123488cfc0
commit
32c6a03000
@ -49,19 +49,6 @@ class Role
|
|||||||
return $this;
|
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
|
* Get the permissions of the role
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user