Skip to content

Megathread: sudo, runas, mixed elevation of tabs, etc. #1032

Closed
@hansmbakker

Description

@hansmbakker

Summary of the new feature/enhancement

Current situation:

  • Suppose you are working on something in Powershell, CMD
  • You went into some folder
  • You built some history
  • You find out that you need administrator rights for some command

Currently most console apps (Powershell, CMD) need to start a new session for getting administrator access. This results in a less optimal workflow, because then you lose

  • your current working folder (you need to cd into it again)
  • your command history (the administrator session has its own history)

Proposed technical implementation details (optional)

A bit like sudo, started with a button:

  • Console sessions in terminal start with default permissions
  • Terminal has button with padlock icon / text "upgrade to administrator" in one of the corners
  • When you click the button, the current session is upgraded to a session with admin permissions or downgraded again to normal permissions
  • Session command history and location (working directory) is kept

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-MetaThe product is the management of the products.Resolution-AnsweredRelated to questions that have been answered

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions