Skip to content

perf: add clipboard acl#7

Open
LeeEirc wants to merge 1 commit into
masterfrom
pr@master@perf_clip_acl
Open

perf: add clipboard acl#7
LeeEirc wants to merge 1 commit into
masterfrom
pr@master@perf_clip_acl

Conversation

@LeeEirc

@LeeEirc LeeEirc commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 7, 2026 07:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the SDK’s ConnectToken model to include zone information and a new clipboard ACL/policy structure, enabling clients to consume clipboard control settings returned by the Jumpserver token endpoints.

Changes:

  • Added zone to ConnectToken.
  • Added clipboard_policy to ConnectToken.
  • Introduced ClipboardPolicy / ClipboardPolicyItem types to represent copy/paste policy details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread model/token.go
Comment on lines 15 to 17
Domain *Domain `json:"domain"`
Zone *Domain `json:"zone"`
Gateway *Gateway `json:"gateway"`
Comment thread model/token.go
CommandFilterACLs []CommandACL `json:"command_filter_acls"`


ClipboardPolicy *ClipboardPolicy `json:"clipboard_policy"`
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.

2 participants