p2-inc / keycloak-orgs

Single realm, multi-tenancy for SaaS apps
Other
362 stars 65 forks source link

p2 organizations extension for tiered organization #173

Open anothergoodguy opened 4 months ago

anothergoodguy commented 4 months ago

Dear Team,

Great suite of extensions.

We are working on a retail SaaS usecase that serves at various tiers like: Tier-1. Retail Corporation Tier-2. Regional Divisions Tier-3. Individual Stores

In this setup, the top tier represents the entire retail corporation, with roles and groups applicable across all regions and stores. The middle tier represents individual regional divisions, each with its own set of roles and groups specific to that region. The bottom tier represents individual stores, with roles and groups tailored to the needs of each store. This tiered organization structure should allow for effective management of authentication and authorization across different levels of the retail business.

I have noticed an entity Team; looks like it's from an old code that was not fully implemented as per keycloak forum

Request your help on any guidance / documentation with the phase-two organizations extension.

Thanks in advance!

MGLL commented 4 months ago

Hello,

Is the topic related to what I would call "Account Hierarchy"? Where an organization can be the child of another organization?

Or is it "Tiering" like assigning Subscription tiers to organizations? (through role for example where you could assign a "premium" role to the organization and all users in the organization inherit it)

Best

anothergoodguy commented 4 months ago

@MGLL I was thinking on the lines of hierarchy of organizations... as I explained in the request.