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
Seve
Seve4d ago
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!!!
CleanShot Cloud
CleanShot 2025-09-29 at 09.37.06
Video uploaded to CleanShot Cloud
DOPΣ
DOPΣOP4d ago
😭
Seve
Seve4d ago
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

Did you find this page helpful?