feat(profile): role claim in the profile ticket
Build, Test & Push Auth Service / quality-check (push) Successful in 54s
Build, Test & Push Auth Service / docker (push) Successful in 1m29s

The public profile ticket now carries the user's role so Core can check
ownership of shop items. PLATFORM_ADMIN gets every catalog item for free.
The role comes from the users table; a ticket without the claim means USER.
This commit is contained in:
lobo committed 2026-10-01 13:14:27 +02:00
1 parent 6b6ac44551
commit e72222a37f
9 files changed
+28 -12

No files matched your search

@@ -13,6 +13,7 @@
"aud": ["tbp-public-profile"],
"sub": "public-profile",
"profileUserId": "42",
"role": "USER",
"profileStats": ["OVERVIEW"],
"sections": ["SUMMARY"]
},