Announcement

Collapse
No announcement yet.

Select entity for relationship panel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Upon further debugging, though, it looks like this code from application/Espo/Services/Record.php is throwing the 403 error;

    PHP Code:
    $accessActionRequired 'edit';
    if (
    in_array($link$this->noEditAccessRequiredLinkList)) {
      
    $accessActionRequired 'read';
    }
    if (!
    $this->getAcl()->check($foreignEntity$accessActionRequired)) {
      throw new 
    Forbidden();


    Is it possible to edit noEditAccessRequiredLinkList in order to add my custom entity to it?
    Last edited by manuel7b; 10-23-2017, 11:55 AM.

    Comment


    • #17
      of course application/Espo/Modules/Crm/Services/TargetList.php has an example

      Comment


      • #18
        Great, thanks for the help!

        Comment

        Working...
        X