2022-12-11 20:50:27 +00:00
# Utilisateurs et Permissions (ACL)
Documentation pour la gestion des [utilisateurs ](https://docs.ntfy.sh/config/#users-and-roles ) et [permissions ](https://docs.ntfy.sh/config/#access-control-list-acl ).
2023-04-21 11:53:55 +00:00
Pour lancer ntfy en interactif dans l'environnement `podman` , préfixer les commandes par `podman container exec -it podman-ntfy` :
2022-12-11 20:50:27 +00:00
```
2023-04-21 11:53:55 +00:00
$ podman container exec -it podman-ntfy ntfy access
2022-12-11 20:50:27 +00:00
user * (anonymous)
- no topic-specific permissions
- read-write access to all (other) topics (server config)
2023-04-21 11:53:55 +00:00
$ podman container exec -it podman-ntfy ntfy user add didier
2022-12-11 20:50:27 +00:00
user didier added with role user
2023-04-21 11:53:55 +00:00
$ podman container exec -it podman-ntfy ntfy access didier prefix_* rw
2022-12-11 20:50:27 +00:00
granted read-write access to topic prefix_*
user didier (user)
- read-write access to topic prefix_*
2023-04-21 11:53:55 +00:00
$ podman container exec -it podman-ntfy ntfy access everyone prefix_* deny
2022-12-11 20:50:27 +00:00
revoked all access to topic prefix_*
user * (anonymous)
- no access to topic prefix_*
- read-write access to all (other) topics (server config)
```