mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
Fix
This commit is contained in:
parent
c715e7c443
commit
21afe30dc0
2 changed files with 5 additions and 5 deletions
|
@ -148,7 +148,7 @@ ynh_local_curl "admin/install.php" "install=dummy"
|
|||
ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||
|
||||
# Only the admin can access the admin panel of the app (if the app has an admin panel)
|
||||
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||
#ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
|
@ -68,10 +68,10 @@ if ynh_legacy_permissions_exists; then
|
|||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
if ! ynh_permission_exists --permission="admin"; then
|
||||
# Create the required permissions
|
||||
ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||
fi
|
||||
# if ! ynh_permission_exists --permission="admin"; then
|
||||
# # Create the required permissions
|
||||
# ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
|
||||
# fi
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
|
Loading…
Add table
Reference in a new issue