Skip to content
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

UI Workflow Master Ticket #4937

Closed
15 of 16 tasks
kimlisa opened this issue Nov 20, 2020 · 15 comments
Closed
15 of 16 tasks

UI Workflow Master Ticket #4937

kimlisa opened this issue Nov 20, 2020 · 15 comments
Assignees
Labels
c-ju Internal Customer Reference enterprise Issue specific to our enterprise customers.
Milestone

Comments

@kimlisa
Copy link
Contributor

kimlisa commented Nov 20, 2020

Description

UI workflow break down. For issue: #4028

https://app.avocode.com/revisions/77400993/comments/?design=52149182

Screenshot from 2020-12-10 20-49-24
Screenshot from 2020-12-10 20-49-50
Screenshot from 2020-12-10 20-49-10

Basic workflow features

Frontend:

  • Create a access requests tab on side nav under activity
  • List ONLY the logged in users request
  • Create new requests
    • Display roles requestable to select
  • Assume approved requests

Backend requirement:

  • GET list of requests
  • Retrieve list of roles requestable

Extend basic features

Frontend:

  • Add filters in list view
  • View requests
    • Delete this request with confirmation dialogue
    • Display approval threshold required
  • Submit review requests
    • Allow reviewer to override rules will not be part of 6.0
    • DENY or APPROVE
    • Optional review message input
  • Extend Create new requests
    • Able to type input/list suggested reviewers username to select

Backend requirement:

  • DELETE a request
  • PUT update a request
  • get list of suggested reviewers for a request

Implement Banner for assumed roles

https://app.avocode.com/revisions/77435353/?design=52233887
Screenshot from 2020-12-10 20-47-40

  • Create a banner that details role assumed, expiration and provide switch back button that switches role back to default
@kimlisa kimlisa self-assigned this Nov 20, 2020
@kimlisa
Copy link
Contributor Author

kimlisa commented Nov 20, 2020

Please review @alex-kovoy @benarent @klizhentas
I marked questions with QUESTION:

@alex-kovoy
Copy link
Contributor

@kimlisa thank you for this master ticket! Lets start with the Admin experience which seems the most straightforward and I will answer your questions regarding other parts afterwards.

@klizhentas klizhentas added this to the 5.1 "San Diego" milestone Nov 20, 2020
@klizhentas
Copy link
Contributor

QUESTION: What should happen after clicking on it? Change access role btn text to assumed? Should one approval deny other requests? Can a user switch back and forth between multiple approved requests?

Let's change access role btn text to assumed. One approval or denial should not affect other requests. User can switch back only by using global "Switch back" mode. They can then assume another role from the same modal. They should be able to assume another roles if they click "Switch back" or if they use the same list.

@klizhentas
Copy link
Contributor

Banner QUESTION: Which banner style am I going with?

Style 1

@klizhentas
Copy link
Contributor

QUESTION: Revoking an approved request isn't a feature present in tctl atm, so this state might also just be view request button too.

Yes, let's ignore Revoke

@klizhentas
Copy link
Contributor

@alexwolfe will post the latest designs in sketch.com next week here

@klizhentas
Copy link
Contributor

@kimlisa @alex-kovoy this code should go in enterprise only repo

@klizhentas klizhentas added the enterprise Issue specific to our enterprise customers. label Nov 20, 2020
@alex-kovoy
Copy link
Contributor

Style 1

@klizhentas the 2nd is more universal as it would work in the terminal/session player as well.

@klizhentas
Copy link
Contributor

@alex-kovoy fair point. I am going with style 1 because it does not disrupt the vertical space. We will work on adding a state for the player as well.

@alex-kovoy
Copy link
Contributor

After looking at it, taking a bit of a vertical space to handle this use case actually seems fine but if go with the 1st then we are claiming a horizontal space of the top nav which might be more useful for something else. What I like about the 2nd is that we can use it for other notifications by stacking them on top of each other, like notificats/alerts from SalesCenter about expired licenses/payments. Each would have close "x" button to dismiss and would work on every screen.

@benarent benarent added the c-ju Internal Customer Reference label Nov 23, 2020
@klizhentas
Copy link
Contributor

klizhentas commented Nov 23, 2020

Add GRPC api method that returns the current user their context:

@fspmarshall this is required so that UI can know what roles the user can request

GetCurrentUserInfo() -> Info
type Info struct {
    CanRequest []roles
}

We need to discuss this a bit more before rolling it out

@kimlisa
Copy link
Contributor Author

kimlisa commented Nov 24, 2020

@alexwolfe @klizhentas ui update:
image

changing the expiry time is not a feature present, so i am leaving this one out too

@alex-kovoy
Copy link
Contributor

Add GRPC api method that returns the current user their context:

@fspmarshall I just recall that we do have UserContext on the webapi level which we can use to return this information. If so, we can handle it ourselves.

@jeffjen
Copy link

jeffjen commented May 7, 2021

Is the workflow related to only requesting access, not approving access?

@kimlisa
Copy link
Contributor Author

kimlisa commented May 7, 2021

@jeffjen you can also approve/deny access request in the UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-ju Internal Customer Reference enterprise Issue specific to our enterprise customers.
Projects
None yet
Development

No branches or pull requests

6 participants