A JupyterLab extension for requesting tenant access in BERDL.
- Toolbar Button: Adds a "Request Tenant Access" button to notebook toolbars
- Modal Dialog: User-friendly interface for selecting tenant groups
- Permission Levels: Choose between read-only or read-write access
- Slack Integration: Requests are sent to a Slack channel for approval
- Open a notebook in JupyterLab
- Click the "Request Tenant Access" button in the toolbar
- Select a tenant group from the Available Groups list
- Choose a permission level (Read-Only or Read-Write)
- Optionally provide a justification
- Click Submit Request
Your request will be sent to the appropriate Slack channel for approval.
The extension is automatically installed when building the spark_notebook Docker image. See the docker-compose.yaml for configuration.
cd berdl_access_request_extension
jlpm install
jlpm build
pip install -e .
jupyter labextension develop --overwrite .
jupyter lab- Frontend: TypeScript/React extension that adds toolbar button and modal
- Backend: Python server extension that proxies requests to
berdl_notebook_utils - API Endpoints:
GET /api/access-request/groups- Fetch available groups and user's groupsPOST /api/access-request/submit- Submit access request
- JupyterLab 4.x
berdl_notebook_utilspackage (for governance functions)tenant_access_request_service(for Slack notifications)