Admin token is not strictly more than a curator token in terms of permissions #230

Open
opened 2026-06-25 07:44:30 +00:00 by mih · 1 comment
Owner

My assumption was that an admin has "all access", but this is not true. It appears that an admin token is just for the admin API.

My assumption was that an admin has "all access", but this is not true. It appears that an admin token is just for the admin API.
Owner

Yes, admin tokens are completely separated from all "data-handling" tokens. The main motive for this decision was simpler, more robust security validation. To ensure control over admin access, admin tokens are never authorized via external sources, only via the API and the persisted configuration (and via the command line option --admin-token-hash).

If the same token should be used for curation and administration, a curator token could be added as admin token as well, thus supporting data-handling as well as reconfiguration.

Yes, admin tokens are completely separated from all "data-handling" tokens. The main motive for this decision was simpler, more robust security validation. To ensure control over admin access, admin tokens are never authorized via external sources, only via the API and the persisted configuration (and via the command line option --`admin-token-hash`). If the same token should be used for curation and administration, a curator token could be added as admin token as well, thus supporting data-handling as well as reconfiguration.
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/dump-things-service#230
No description provided.