feat: forward user JWT claims for webhook notifications
Context
We recently enhanced the JWT claims to include a user object that Rails can use to track different kind of users, more specifically deploy_token
users.
Implementation
Since Embed dedicated JWT container user info in cont... (gitlab!127622 - merged) has been merged and deployed, we are now ready for the Registry to forward the user
claim from the JWT through to Rails via the webhook notifications.
- Update the
ClaimSet
struct to unmarshal theuser
claim. - Add the
user
blob to theActorRecord
type in thenotifications/
package. - Ensure we forward the
user
claim when we send notifications.
Edited by Jaime Martinez