Update groups_and_permissions.md

This commit is contained in:
Alexandre Aubin 2020-03-27 02:36:14 +01:00 committed by GitHub
parent 7a41bdaa55
commit bbbe87418e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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