Now we can allow groups directly with --allowed during permission_create

This commit is contained in:
Alexandre Aubin 2019-10-09 23:00:26 +02:00
parent 52daeacb2c
commit 4a46e66320

View file

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