<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Group &amp; Role Design in a nearly multitenant Applicatino]]></title><description><![CDATA[<p dir="auto">Hi,<br />
i'm planning to migrate a ASP .NET Core Application from Azure AD B2C to FusionAuth.I read the documentation, but still i have one question how to correctly design the group / role Schema in Fusion Auth.</p>
<p dir="auto">Currently in the App a user X can be a member of multiple companies. In each company X can have different roles (e.g. he can be an Admin in Company A and a Editor in Company B).</p>
<p dir="auto">First i thought using a Group as a Company is good idea, but it seems like FusionAuth is not supporting Group Roles (User can have different Roles in different Groups).</p>
<p dir="auto">So one way is to handle the Group roles in my application logic (which i don't like to do, this is more work for me then it should).</p>
<p dir="auto">Also i cloud create Roles for each Company e.g. for Company A i create A_Admin, A_Editor.... so i will end with thousands of Roles, which isn't that perfect solution.</p>
<p dir="auto">Other way is to create a Application for every Company, but then i have to provide a individual instance for each company or i have to restart the Backend for each new Application(both not acceptable options).</p>
<p dir="auto">A Tenant for each Company brings the same Problem.</p>
<p dir="auto">So do i have to implement Group Roles by my own?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2051/group-role-design-in-a-nearly-multitenant-applicatino</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 03:49:16 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2051.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Apr 2022 09:56:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Group &amp; Role Design in a nearly multitenant Applicatino on Fri, 15 Sep 2023 14:37:08 GMT]]></title><description><![CDATA[<p dir="auto">For those reading, please check out <a href="https://fusionauth.io/community/forum/topic/2500/how-can-i-get-entity-permissions-into-a-jwt">this post</a>.</p>
]]></description><link>https://fusionauth.io/community/forum/post/6558</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6558</guid><dc:creator><![CDATA[mark.robustelli]]></dc:creator><pubDate>Fri, 15 Sep 2023 14:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to Group &amp; Role Design in a nearly multitenant Applicatino on Thu, 14 Sep 2023 14:33:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a></p>
<p dir="auto">Hi</p>
<blockquote>
<p dir="auto">You'd create a company entity type with permissions like 'admin' or 'editor', add each company as an entity, and then individually manage the grants to the use</p>
</blockquote>
<p dir="auto">This seems to be exactly what we need, but I'm unsure of <em>how</em> to get the entity grant permissions into the jwt token so that our API can do permission checks. Any tips?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://fusionauth.io/community/forum/post/6552</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6552</guid><dc:creator><![CDATA[stephan]]></dc:creator><pubDate>Thu, 14 Sep 2023 14:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Group &amp; Role Design in a nearly multitenant Applicatino on Sat, 07 May 2022 22:25:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1663">@quirin-sailer</a> Hiya, you could also use entity management: <a href="https://fusionauth.io/docs/v1/tech/core-concepts/entity-management" rel="nofollow ugc">https://fusionauth.io/docs/v1/tech/core-concepts/entity-management</a> and represent the roles as permissions and grants. You'd create a company entity type with permissions like 'admin' or 'editor', add each company as an entity, and then individually manage the grants to the user.</p>
<p dir="auto">Do note that entity management is not part of the community edition, but instead requires a paid license.</p>
<p dir="auto">Alternatively, I think you could do this with many groups (you'd want to manage these via the API, probably). Users are assigned the roles for the groups they are in and the applications they are registered for.</p>
<p dir="auto">You could create an admin group for each application, then an editor group for each application, then add a user to the admin group for application A and the editor group for application B, and register them for both applications. When they logged into A, they'd get admin, and when they logged into B, they'd get the editor role.</p>
<p dir="auto">Does that work?</p>
]]></description><link>https://fusionauth.io/community/forum/post/5096</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/5096</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Sat, 07 May 2022 22:25:35 GMT</pubDate></item></channel></rss>