JeffBeltran / sanctum-tokens

Simple Nova Plugin to generate a Laravel Sanctum Personal Access Token
https://novapackages.com/packages/jeffbeltran/sanctum-tokens
51 stars 27 forks source link

Edit Abilities #81

Closed CodeWithDennis closed 1 year ago

CodeWithDennis commented 1 year ago

Is it possible to edit abilities after creating a token?

JeffBeltran commented 1 year ago

i don't think that is a feature supported by sanctum out of the box, at least with a quick search and didn't see anything.

That being said i would be open for a PR, but not sure we want to add it if this isn't supported by sanctum directly. i would just say the best way would be to create new token with the abilities you want and make the change that way