-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Epic: Personal Access Tokens #14280
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
Comments
Adding this to the product design board. 🎹 Cross-linking relevant discussion (internal):
|
Thanks for the context, @gtsiolis!
Will post updates in this epic. |
Thanks for the heads-up, @laushinka! Regarding the context in #14280 (comment), I haven't read the RFC in-depth yet but the list of options listed there looks long. Should we consider breaking the list of features into smaller pieces as MVC skateboards to avoid scope creep? Cc @easyCZ |
@laushinka is doing the breakdown currently. Once we have that, we we will of course slice it up, or choose to defer some parts of it. As it stands, the only aspect that can be deferred is "fine grained scopes". From the user stories, it's necessary to offer the token lifecycle and the corresponding authentication pieces as without them, the feature does not actually yield the value we want. |
@easyCZ Perfect, sounds good! I'll dive into more designs for this features in the next few days. |
@gtsiolis Is there a design available? |
@akosyakov I'm currently working on this. I'm planning to upload some early designs today. Any feedback or something that designs should take into account, besides the relevant RFC (internal)? |
@gtsiolis nope it just we wanted to start to work on it. If we do some cross cutting slices it would be good to have some ideas about UI. |
Posting some early designs for the personal access tokens (PATs) flow, including 1️⃣ the empty state and 2️⃣ the new token modal. I’ll add later today, 3️⃣ the new token confirmation and 4️⃣ the listing of existing tokens. Cc @laushinka @easyCZ
See design specs. |
Quick question about the "Permissions" checkbox: does this need to be checked for the PAT to work as expected? If not, what are the default permissions? I have seen these split into USER and ADMIN options for other products, but maybe that does not apply yet since we are still building out our public API set? |
Hey @tdensmore! Cross-posting from the relevant discussion (internal) for visibility:
|
I wonder if it's worth using a yellow alert component for the "nudge" text. I like the alternative with the modal too - but perhaps remove the footer of the model since there's already a copy button/function in the text field. Look great though, really nice job! |
Thanks for the feedback @jimmybrancaccio! I'd avoid relying on the alert component for everything we add as this could be overwhelming for users. We're already using a lot of alerts for other cases like local preview, usage limit, etc. For the latest designs, we're leaning towards a non-modal approach as it would scale better with more permissions that we'd like to add over time, see relevant discussion (internal). Feedback is welcome! |
@gtsiolis Currently this epic is in a validation phase. I'd like to keep it open until we've concluded that phase, and have run it for some time. |
OK, @easyCZ! I've removed this from product design / in progress board for now, as there's no ongoing product design work for any issues related to this feature. 🤝 |
@easyCZ can we close this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Summary
To enable automated interaction with Gitpod, users need the ability to manage their Personal Access Tokens.
Context
Personal Access Tokens are API tokens which act on behalf of the user. They can be used to automate workflows against Gitpod.
Value
Acceptance Criteria
The user is able to:
Measurement
RFC
User stories
Note: Properties here
Note: without seeing the secret value
Milestone plan
Note: UI and API implementation can be started independently
Diagram
Storage
Will be stored in a new table
d_b_personal_access_token
.Reasons why we are not using the existing
d_b_gitpod_token
:(additional contexts[1][2])
Schema
Issues
Rollout
Documentation
https://www.gitpod.io/docs/configure/user-settings/access-tokens
Follow-up
Follow-up epic which tracks feedback, improvements and general direction towards a stable release is in
The text was updated successfully, but these errors were encountered: