# server_acl_user_allow_write

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-acl.c#L123
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-server_acl_user_allow_write/

```c
void server_acl_user_allow_write(uid_t uid)
```

## Parameters

- `uid` (`uid_t`)

## Called by

- [`cmd_server_access_exec`](/en/tmux/3.7c/reference/c-function-cmd-server-access-c-cmd_server_access_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-server-access.c#L134)

## Calls

- [`proc_get_peer_uid`](/en/tmux/3.7c/reference/c-function-proc_get_peer_uid/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-acl.c#L134)
- [`server_acl_user_find`](/en/tmux/3.7c/reference/c-function-server_acl_user_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-acl.c#L128)

## Referenced declarations

- [`CLIENT_READONLY`](/en/tmux/3.7c/reference/c-define-tmux-h-client_readonly/) (constant)
- [`client.entry`](/en/tmux/3.7c/reference/c-struct-client-entry/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`client.peer`](/en/tmux/3.7c/reference/c-struct-client-peer/) (attribute)
- [`SERVER_ACL_READONLY`](/en/tmux/3.7c/reference/c-define-server-acl-c-server_acl_readonly/) (constant)
- [`client.user`](/en/tmux/3.7c/reference/c-struct-client-user/) (attribute)
