mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update groups_and_permissions.md
This commit is contained in:
parent
7a41bdaa55
commit
bbbe87418e
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ Installing an app creates the permission `app.main` with `all_users` allowed by
|
|||
If you wish to make the application publicly available, instead of the old `unprotected_urls` mechanism, you should give access to the special groups `visitors`:
|
||||
|
||||
```bash
|
||||
ynh_permission_update --permission "main" --add "all_users" "visitors"
|
||||
ynh_permission_update --permission "main" --add visitors
|
||||
```
|
||||
|
||||
If you wish to create a custom permission for your app (e.g. to restrict access to an admin interface) you may use the following helpers:
|
||||
|
|
Loading…
Reference in a new issue