magnus186
06/10/2026, 4:15 PMOr Weis
06/10/2026, 4:16 PMAsk Inkeep
06/10/2026, 4:16 PMAsk Inkeep
06/10/2026, 4:17 PM{
key: "user_id",
email: "<mailto:email@example.com|email@example.com>",
first_name: "John",
last_name: "Smith",
attributes: {
auth0_group: "IMAGO"
}
}
*Frontend Filtering:*
For filtering your 50 agents in the client based on group assignment, you can use Permit's frontend SDK to check permissions before displaying resources (2) . The SDK allows you to load user permissions and perform client-side checks .
Initialize the Permit frontend SDK with your logged-in user :
const permit = Permit({
loggedInUser: loggedInUser,
backendUrl: "<http://localhost:4000/>",
}) ;
Then check permissions for each agent resource :
await permit.loadLocalStateBulk([
{ action: "access", resource: "AI_Agent" }
]) ;
*Policy Configuration:*
In Permit's Policy Editor, create a policy that grants the "access" action on "AI_Agent" resources to users with the auth0_group attribute set to "IMAGO" (3) . This uses Attribute-Based Access Control (ABAC) to evaluate user attributes dynamicallyAsk Inkeep
06/10/2026, 4:17 PMOr Weis
06/10/2026, 4:17 PMmagnus186
06/10/2026, 4:18 PMmagnus186
06/10/2026, 4:19 PM