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:
xavier.guiboud-ribaud@combodo.com
2024-11-26 10:17:52 +01:00
parent 808168b9e7
commit d6f3ee9758

View File

@@ -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);
}
}