logoalt Hacker News

buzertoday at 8:12 AM1 replyview on HN

From what I could gather from quick look this seems to targeted towards B2C applications, i.e. 1 customer has 1 user. In B2B cases there is often cases with "customer has entitlement to feature X, but only users A & B can use it, C cannot" (and in some cases users have access to multiple customers). Are you planning on adding this kind of support and are you planning on handling the role/user mapping yourself or just providing some integration points?

(just to be clear, not relevant in my case at this point, just something that was a bit messy to handle in something I worked with previously)


Replies

ayushr1today at 8:41 AM

Yes! This actually extends beyond the concept of users. Eg people have similar problems when provisioning different access levels to different workspaces, or different compute instances. We use a concept called “entities” to handle this, where each entity is a sub account that lives under a customer. Each entity can they have its own set of features, meters and even subscriptions.

Connecting this all to auth systems is still a flow we’re hoping to make cleaner. It’s in early stages for now.