Skip to content

Commit

Permalink
Fixes to RegistryAuthComponent and GroupMembersTable (CFM-228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Jan 23, 2023
1 parent ccd5913 commit dc8e752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/Controller/Component/RegistryAuthComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

use \Cake\Controller\Component;
use \Cake\Core\Configure;
use \Cake\Chronos\Chronos;
use \Cake\Datasource\Exception\RecordNotFoundException;
use \Cake\Event\EventInterface;
use \Cake\Http\Exception\ForbiddenException;
Expand Down
2 changes: 1 addition & 1 deletion app/src/Model/Table/GroupMembersTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function initialize(array $config): void {

$this->setDisplayField('id');

$this->setPrimaryLink('group_id');
$this->setPrimaryLink(['group_id', 'person_id']);
$this->setRequiresCO(true);

$this->setEditContains(['Groups', 'People.PrimaryName']);
Expand Down

0 comments on commit dc8e752

Please sign in to comment.