mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
Now we can allow groups directly with --allowed during permission_create
This commit is contained in:
parent
52daeacb2c
commit
4a46e66320
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
|
|||
ynh_webpath_available $domain $path_url || ynh_die "$domain$path_url is not available, please use an other domain or path."
|
||||
ynh_webpath_register $app $domain $path_url
|
||||
|
||||
ynh_permission_create --permission "admin" --url "/admin"
|
||||
ynh_permission_update --permission "admin" --add "$admin_user"
|
||||
ynh_permission_create --permission "admin" --url "/admin" --allowed "$admin_user"
|
||||
|
||||
ynh_permission_create --permission "dev" --url "/dev"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue