Create UI to generate token for any user

Created on 29 December 2023, 12 months ago

Problem/Motivation

At the moment the user can create the token for itself only on /admin/config/services/access-token-auth page, but to access that page administer access_token_auth configuration permission is needed. Also that page has some sensitive settings that not all users should see. Instead it would be nice to have "Generate token" button for example on user profile edit page, this way users with "administer users" permission would be able to generate tokens for other users or for themselves as well without need to access /admin/config/services/access-token-auth page that has settings.

Remaining tasks

Create MR or patch

User interface changes

"Generate token" button on user profile for users with sufficient permissions

API changes

No changes

Data model changes

No changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024