-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): add Token.perm_manage_tokens and surrounding functionality #469
Conversation
12eb65f
to
40a0dfa
Compare
40a0dfa
to
b4e0825
Compare
Docs update and GUI adjustments are done. Ready for review! |
01ef059
to
dfa9918
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very nice. just two nits :)
docs/auth/tokens.rst
Outdated
|
||
``token`` | ||
:Access mode: read-once | ||
:Type: string (28 characters) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's be not too specific with details here - this value could change in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
<script> | ||
export default { | ||
name: 'Checkbox', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
The migration sets `perm_manage_tokens = True` for all existing tokens, and then sets the default to `False`. Related: #347
010a29d
to
f88acff
Compare
The migration sets
perm_manage_tokens = True
for all existing tokens,and then sets the default to
False
.Related: #347
Todos:
It may also be worthwhile to discuss why I called the field
perm_manage_tokens
(I figured it would play along best with the other things we're going to add, but that we should talk about).