The product might be called something like "Permissions Kit". The idea is to turn user permissions for applications into a service.
e.g Can user X view resource of type Y
It would optionally handle the UI for you too. e.g you could import frontend components into your application, which would then hit our API to get/set the permissions.
I'm thinking the service might be targeted towards very javascript heavy applications that don't have a traditional backend (e.g ruby on rails).
The tag line would be something along the lines of "Application user permissions managed for you".
Hoping the IH developers might be able to give me some feedback on this one, would you trust a service to manage data like this for you?
Have you had frustrations with application permissions in the past?
Thanks!
https://auth0.com - They've been at it for some time now but have never used them.
Used in the past a simple one table solution:
weightwhere each role (identified by awho_id) has a different value and now you have hierarchyI might do 2-3 perm checks / request in order to know if a user is allowed to do something. Ex: A user with Role X can create Comments but can he create Comments on Project he's not part of.
For the most part I've gotten away with User/Guest roles and maybe some special Owner permissions. My gut is that's the majority of use cases.
Right now at Mutant I'm thinking about implementing linux style permissions with
owner,groupandother. Set a perm for each row and query directly on the item to get all "Products" that I can view - this way I'm looking at the real state of an item, not inferring from Role or having it mapped in another place. It feels like perm info should be part of item's fabric if that make sense.To your concern, I don't know if I would use an outside service for this but I might not be in the target. I would use for prototyping and getting things out faster but on the other hand, am I prototyping if im thinking about permissions?
It's clear that it is still "pain" to do and it can go wrong if not done with care and testing. Maybe there's a place in a Firebase stack or the beginning of a new Serverless platform that ticks off some of these "common" problems that we keep re implementing all the time (in the same way).
Hope this is helpful in some way, best of luck!
Thanks @andreid. Your reply was really helpful.
The more I think about it a simple database service like firebase would probably handle most of what I could offer.
I was thinking too that someone starting out and prototyping an application might find it helpful, but they probably would graduate from it pretty quickly and need something more custom.
This comment was deleted 7 years ago