Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

[Front End] Leave Option for Collaborator in Notebooks #56

@chrisdedman

Description

@chrisdedman

Objective

Currently, when a collaborator is added to a notebook, it can not leave or delete the notebook. Only the user who has ownership of that notebook can delete a collaborator. The goal of this update will be to give the user the option to leave the notebook when they are a collaborator.

Design

In the notebook setting, we currently have a delete button to delete a notebook. When a collaborator is added to a notebook, this collaborator does not have ownership of this notebook. So, does not have the authorization to delete this notebook. The idea is to have the delete notebook option changed to a "leave" option when the user is a collaborator in that notebook.

Possible Implementation

In the front end, an update of the current model for the notebook settings form will need to be updated. We will check if the user is a collaborator in this notebook. If it is, the delete notebook option will be hidden and the leave notebook option will be shown instead. A simple message will be displayed with a Leave button to replace the current Delete button and option.

Blocking

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions