Skip to content

feat(user): let users edit GitHub, Renku and LinkedIn profile links - #327

Closed
sabinem wants to merge 1 commit into
mainfrom
feat/user-profile-links
Closed

sabinem wants to merge 1 commit into
mainfrom
feat/user-profile-links

Conversation

@sabinem

@sabinem sabinem commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Adds three platform-owned profile links to User and an EditProfile RPC that edits only the caller's own row: the request carries no user id, the target is always the token's subject. Casbin gets a per-user /user/ domain and a wildcard write rule on it; anonymous callers are refused before the check, since "*" matches them too.

Links are validated server-side: https only; GitHub and LinkedIn must be profile pages on their own hosts; Renku accepts any https host, as it is also self-hosted. The Keycloak claim sync never touches them.

Adds three platform-owned profile links to User and an EditProfile RPC
that edits only the caller's own row: the request carries no user id,
the target is always the token's subject. Casbin gets a per-user
/user/<sub> domain and a wildcard write rule on it; anonymous callers
are refused before the check, since "*" matches them too.

Links are validated server-side: https only; GitHub and LinkedIn must
be profile pages on their own hosts; Renku accepts any https host, as
it is also self-hosted. The Keycloak claim sync never touches them.
@sabinem

sabinem commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator Author

close until backend change is ready

@sabinem sabinem closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant