ServerAccessRequest
ServerAccessRequest configures tmux server access control. Its zero value is invalid: List or exactly one nonempty Allow or Deny is required. Allow and Deny, and ReadOnly and Write, are mutually exclusive; nil pointers omit their selectors while explicit empty users are rejected. List selects the returned-list path, but compatible selector and mode flags are still sent to tmux rather than ignored.
Source and package
- Qualified name
-
tmux.Server Access Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_clients.go
Fields5#
| Name | Type | Description |
|---|---|---|
| Allow | *string | Allow grants the named user access. |
| Deny | *string | Deny revokes the named user's access. |
| List | bool | List returns the configured access entries instead of mutating them. |
| ReadOnly | bool | ReadOnly grants read-only access to the selected user. |
| Write | bool | Write grants write access to the selected user. |