sirbranedamuj
10/29/2025, 1:18 PMdefinition user {} to represent the subjects of our authz checks. We recently started discussing a use case for checking if users have permission to look at each other's details. My intuition was to just add relations and permissions directly to that user definition, but someone suggested adding a second user definition to act as the "resource" to differentiate between the user treated as a subject and the user treated as a resource.
I can kind of see the merits of doing that, but I also worry that it's overcomplicating it. Just looking for some input from the experts yetitwo
10/29/2025, 1:44 PMuser vs user_profile or something.sirbranedamuj
10/29/2025, 1:49 PMyetitwo
10/29/2025, 2:22 PM