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

[ENH] - Implement JupyterHub 5.x sharing APIs in the hub client #185

Closed
aktech opened this issue Mar 25, 2024 · 2 comments
Closed

[ENH] - Implement JupyterHub 5.x sharing APIs in the hub client #185

aktech opened this issue Mar 25, 2024 · 2 comments

Comments

@aktech
Copy link
Member

aktech commented Mar 25, 2024

Feature description

Implement JupyterHub 5.x sharing APIs in the hub client:

Use JupyterHub 5.x APIs to share an app, implement the following functionality in the HubClient:

  • Grant shared access to a list of users and/or a list of groups API Docs
  • Revoke all shared access to a given server API Docs
  • Fetch shared apps (servers) for a given user API Docs

Value and/or benefit

This will help us move one step forward towards implementing app sharing, see #11

Anything else?

No response

@aktech
Copy link
Member Author

aktech commented Apr 3, 2024

We should add share_with key in the user_options in the request payload to create/edit server/app API know to let API know with whom to share the server/app with:

{
  "servername": "app name",
  "user_options": {
    "jhub_app": true,
    "name": "app name",
    "display_name": "app name",
    "description": "",
    "framework": "panel",
    "thumbnail": "",
    "filepath": "",
    "conda_env": "",
    "env": null,
    "custom_command": "",
    "profile": "",
    "public": false,
    "share_with": {
      "users": [],
      "groups": []
    }
  }
}

@aktech
Copy link
Member Author

aktech commented May 28, 2024

Complete in #224

@aktech aktech closed this as completed May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant