Hello! Sorry for my English
How to make the creator always see the records he created, regardless of who they were assigned to and to which groups.
In the espocrm/application/Espo/Core/AclManager.php file, I found a function that checks the read permissions (when I set the true read-write right, they appear but I do not appear in the list of entries).
public function check(User $user, $subject, $action = null)
{
//test
return true;
if (is_string($subject)) {
return $this->checkScope($user, $subject, $action);
} else {
$entity = $subject;
if ($entity instanceof Entity) {
return $this->checkEntity($user, $entity, $action);
}
}
}
In setting up the roles, I would very much like to see the essence of the Creator of the record.
Then it would be possible to fine-tune the right to write.
How to make the creator always see the records he created, regardless of who they were assigned to and to which groups.
In the espocrm/application/Espo/Core/AclManager.php file, I found a function that checks the read permissions (when I set the true read-write right, they appear but I do not appear in the list of entries).
public function check(User $user, $subject, $action = null)
{
//test
return true;
if (is_string($subject)) {
return $this->checkScope($user, $subject, $action);
} else {
$entity = $subject;
if ($entity instanceof Entity) {
return $this->checkEntity($user, $entity, $action);
}
}
}
In setting up the roles, I would very much like to see the essence of the Creator of the record.
Then it would be possible to fine-tune the right to write.
Comment