Select entity for relationship panel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manuel7b
    Member
    • Sep 2017
    • 33

    #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

    • tanya
      Senior Member
      • Jun 2014
      • 4308

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

      Comment

      • manuel7b
        Member
        • Sep 2017
        • 33

        #18
        Great, thanks for the help!

        Comment

        Working...