Skip to content

docs: add session management page#302

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a035004f
Open

docs: add session management page#302
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a035004f

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 29, 2026

Summary

Documents the new session list and revoke flows for Porter dashboard and CLI sessions, covering both the per-user view and the project-admin team view.

Changes

  • Add security-and-compliance/session-management.mdx covering the dashboard UI flows, the admin team-sessions view, and the underlying API endpoints (list/revoke self, list/bulk-revoke project).

Context

Triggered by porter-dev/code#5844, which introduces:

  • GET /api/v2/user/sessions and DELETE /api/v2/user/sessions/{session_id} for users to list and revoke their own sessions.
  • GET /api/v2/projects/{project_id}/sessions and POST /api/v2/projects/{project_id}/sessions/revoke for project admins to view and bulk-revoke any member's sessions, with Porter staff sessions filtered out for non-staff callers.
  • A new Sessions section on the account settings page and a Sessions tab under project Members for admins.

The feature is gated by the user_session_management_enabled project feature flag (default off), so the new page is intentionally not added to mint.json navigation yet.

cc @dgtown for review.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 29, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview May 29, 2026, 4:10 PM

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

Successfully merging this pull request may close these issues.

0 participants