# tmux.ServerAccessRequest

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