-
Type:
Bug
-
Resolution: Done
-
Priority:
Blocker
-
Affects Version/s: COmanage Registry 5.1.0 (Class 5 Rapids)
Attempting to call
DELETE /api/v2/people/n
fails. When called by a Privileged API User in the same CO, the error is
<debug>2025-06-30 20:55:54 debug: 131/ApiUsers: Changelog altering find conditions</debug> <debug>2025-06-30 20:55:54 debug: 131 App\Controller\Component\RegistryAuthComponent::llog: RegistryAuthComponent::getPersonID Current user is an API user</debug> <error>2025-06-30 20:55:54 error: [Cake\Http\Exception\UnauthorizedException] Authentication Failed in /srv/comanage-registry/app/src/Controller/Component/RegistryAuthComponent.php on line 254
(Note there should not be a call to getPersonID since this is an API user call.)
When called by a Privileged Platform API User, a different error is generated.
- is related to
-
CFM-454 EnvSource Creates People Without PrimaryName
-
- Done
-