Define user permissionsLink to this section
It’s easy to manage and control access with user permissions and they are unlimited. You can define, create, edit, and delete as many permissions as you need.
First time creating permissions?Link to this section
For each permission you create on Kinde, you need to assign a unique ‘key’ that your product code will reference to apply the permission. We suggest you create permissions first, and then if you want, create roles to group sets of permissions to apply to users.
Add a new user permissionLink to this section
Go to Settings > User Management > Permissions. If you already have permissions added, you’ll see a list of them.
Select Add permission.
Give the permission a Name. Keep it short and descriptive, so you can easily understand what it is for. For example, ‘View financial reports’.
Enter a Description. Provide additional context to help users understand this permission and the effect it will have. For example ‘Allows users to view, but not update, financial reports for the business.’
Enter a Key. The key is how your code references the permission in Kinde. It should be a word that is easy to reference in code and match in your product. For example
read-reports. It’s a good idea to follow a naming convention pattern to help maintain your code. Here’s what it might look like:
Select if you want this permission to be automatically added when a new role is created. You might do this for example, if the permission is something all users need to be allowed to do.
Edit permissionLink to this section
User permissions are dynamic and refreshed via the issued token. This means that any changes you make will be applied to users, the next time they sign in.
We don’t recommend editing permission keys, once a permission is in use. It will break the code link between your product and the defined permission.
- Go to Settings > User Management > Permissions. If you already have permissions, you’ll see a list of them.
- Select the three dots next to the permission you want to edit and choose Edit permission.
- Make the changes you want and select Save.