This commit is contained in:
Alexandre Aubin 2019-11-29 17:23:02 +01:00 committed by GitHub
parent 1bf97096af
commit 0a2ce43992
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: