mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
This commit is contained in:
parent
1bf97096af
commit
0a2ce43992
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ By default, installing an app creates the permission `app.main` with `all_users`
|
|||
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" --remove "all_users" --add "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