Skip to content

Linking permissions when creating root keys  #2147

@chronark

Description

@chronark

Preliminary Checks

Is your feature request related to a problem? Please describe.

It's annoying to tell users in docs what perms to add and is a bad experience for the user cause they need to cross reference. Rather they should click on a link like /settings/root-keys?permissions=api.*.create,key.*.verify and can move on quickly

Describe the solution

A user clicks on a link and it automatically selects the required permissions, all they need to is add a name and hit "create"
required permissions are stored in query params and the correct permission checkboxes are checked when the user navigates there.

We already use nuqs for query param parsing, I'd like to use it here too

Describe alternatives you have considered (if any)

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

FeatureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions