# tmux.ServerAccessRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_clients.go#L21
- **Page:** https://libtmux.org/reference/go/tmux-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.

## Members

- `Allow` (attribute) — Allow grants the named user access.
- `Deny` (attribute) — Deny revokes the named user's access.
- `List` (attribute) — List returns the configured access entries instead of mutating them.
- `ReadOnly` (attribute) — ReadOnly grants read-only access to the selected user.
- `Write` (attribute) — Write grants write access to the selected user.
