Problem:
Users are unable to see the option to generate Personal Access Tokens (PATs) in their Mattermost account, despite the PAT feature being globally enabled.
Solution:
To enable PAT creation for users and to ensure that they see the option to generate Personal Access Tokens, follow these steps:
Verify Global PAT Settings(good to verify):
- Navigate to System Console > Integrations > Integration Management.
- Ensure the setting Enable Personal Access Tokens is set to True.
Assign PAT Permissions to User:
- Navigate to System Console > User Management > Users.
- Locate and select the user needing PAT permissions.
- Click Manage Roles from the dropdown menu next to the user's name.
Enable PAT Creation:
- Within the Manage Roles screen, select the permission Allow this account to generate personal access tokens.
- User Action:
- The user can now log in and access their Profile > Security page.
- They should now see the option to Create Token under the Personal Access Tokens section.
- The user can generate and securely store the PAT for script-based authentication.
Comments
Article is closed for comments.