mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
7746 - Caselog edition button active even if the user has a read-only access to the object
Coding conventions compliance
This commit is contained in:
@@ -979,7 +979,8 @@ class ActivityPanel extends UIBlock
|
||||
* @return bool
|
||||
* @throws \CoreException
|
||||
*/
|
||||
protected function HasUserModifyRights(): bool {
|
||||
protected function HasUserModifyRights(): bool
|
||||
{
|
||||
return \UserRights::IsActionAllowed($this->GetObjectClass(), UR_ACTION_MODIFY);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user