DOPΣ - @Seve could you confirm if this implemen...
@Seve could you confirm if this implementation spec is right? So I can further modify the frontend and later on prod api
https://github.com/tscircuit/tscircuit.com/pull/1734
3 Replies
it's not right unfortunately, it would be bad if we didn't follow RBAC/ABAC convention. but it's good to see some progress.
The most important thing:
user_permissions
is ALWAYS computed and NEVER stored! https://share.cleanshot.com/JJ7dZPkv
package.user_permissions = { can_read_package?: boolean, can_manage_package?: boolean }
but NOT can_manage_org
! That permission isn't relevant for the resource!!!😭
you're getting a lot of knowledge that usually people get wrong for years so it's good stuff 😁 i've seen pretty senior engineers mess this up