mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
Iteration on permission app, now using a single url per permission
This commit is contained in:
parent
6c98bcad86
commit
52daeacb2c
1 changed files with 2 additions and 3 deletions
|
@ -21,11 +21,10 @@ 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" --urls "/admin"
|
||||
ynh_permission_create --permission "admin" --url "/admin"
|
||||
ynh_permission_update --permission "admin" --add "$admin_user"
|
||||
|
||||
ynh_permission_create --permission "dev"
|
||||
ynh_permission_urls --permission "dev" --add "/dev"
|
||||
ynh_permission_create --permission "dev" --url "/dev"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Reference in a new issue