Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was working for a company recently and we were exploring how to model what a minor can do with their guardian managed account.

I did initially look at RBAC frameworks but since it was too complex for a small greenfield project I went with one or more accounts linked to a user's profile with a RBAC junction table linking account and profile ID in a relational database.

The junction table was the secret sauce, it allows you to stuff the RBAC permissions into its rows.

I could get very far with this model. For example it allows for example who can pay for features(guardian not minor). Have multiple people manage a minor. Validate permissions for a logged in account.



Decoder: RBAC = role based access control.

Whatever happened to people being charitable enough to readers to define their acronyms and abbreviations? This page is full of "insider" talk.


Google exists... It's not responsibility of commenter sharing knowledge for free to also expand anything that can be unknown to somebody else?


I think you would struggle to find a style guide that does not say to write an abbreviation or acronym in full the first time one uses it in a piece.

Google exists for finding those too.


is commenting on HN your job? neither is that guy. None of us here signed any style guide and get paid for sharing insight so it's more like "take it or leave it"


The sad comment here is the one that believes proper, legible, clear writing is for work only.


No it's more like everyone is free to share knowledge however they want or not share at all and so we should be thankful for knowledge not look gift horse in the mouth and police writing style


You have conflated "policing" with "commenting", at least for those you disagree with, thus contradicting your point. If I had the power to police such things I would but I can't, I can only comment and freely share knowledge on clear writing. Don't look a gift horse in the mouth ;-)


HN has some commenting rules and next time check them before trying to enforce some rule that don't exist

Yours is not a gift horse, you did not give any insight to us and you make others less likely to give insight so it is a net harm to community

Never said I support allowing to write any random stuff. Literal nazi is way worse than writing style nazi but both are not welcome.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: