code: public function addPermission(Permission $permission)
      {
          $permission->setAccess($this);
          $this->permissions->add($permission);
  
          return $this;
      }
docs: Add permission
  
  @param \Ds\Component\Acl\Entity\Permission $permission
  @return object