ory / examples

A curated collection of examples and solutions created and maintained by the Ory Community.
https://www.ory.sh/community/
Apache License 2.0
135 stars 67 forks source link

Dont use traits for roles in "Ory Kratos, Keto, and Oathkeeper with Kubernetes" example #39

Closed vinckr closed 9 months ago

vinckr commented 1 year ago

https://ory-community.slack.com/archives/C01340V8KSM/p1657816519514069?thread_ts=1657736761.297209&cid=C01340V8KSM

having the roles in the traits is not a good idea btw :sweat_smile: any user will be able to change their role through the self-service settings flow consider instead to use the identity id as the subject, and store the identity->role assignment in keto alternatively you can use the metadata_public and metadata_admin to store the role both are not editable by the user, and metadata_admin not even readable by the user

fyi @zepatrik

github-actions[bot] commented 11 months ago

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneously you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️