Kinde · Arazzo Workflow
Kinde Create Role with Permission
Version 1.0.0
Create a permission, create a role, and attach the permission to the role.
View Spec
View on GitHub
AuthenticationAuthorizationCustomer IdentityIdentity ManagementOAuthOpenID ConnectSingle Sign-OnMulti-Factor AuthenticationRole-Based Access ControlFeature FlagsBillingB2BSaaSDeveloper PlatformArazzoWorkflows
Provider
Workflows
create-role-with-permission
Create a permission and a role, then bind the permission to the role.
Creates a permission, resolves its id by listing permissions and matching on key, creates a role, and updates the role's permissions to include the resolved permission.
1
createPermission
CreatePermission
Create the permission. The create endpoint returns a success envelope only, so the permission id is resolved in the next step.
2
resolvePermissionId
GetPermissions
List permissions and locate the one whose key matches the permission just created so its id can be attached to the role.
3
createRole
CreateRole
Create the role that the permission will be attached to. Returns the new role's id.
4
attachPermission
UpdateRolePermissions
Attach the resolved permission to the new role by submitting the permission id in the role permissions update.