mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
fix perm again
This commit is contained in:
parent
5a27b787b2
commit
d7eb3017f4
1 changed files with 4 additions and 2 deletions
|
@ -325,8 +325,10 @@ fi
|
|||
# - "admin" has full rights in the app
|
||||
# - "main" can login and do almost nothing
|
||||
# See https://wordpress.org/documentation/article/roles-and-capabilities/
|
||||
ynh_permission_create --permission="admin" --url="/wp-login.php" --additional_urls="/wp-admin.php" --allowed=$admin_wordpress
|
||||
ynh_permission_update --permission="main" --url="/wp-login.php" --additional_urls="/wp-admin.php" --allowed=all_users
|
||||
ynh_permission_create --permission="admin" --url="/wp-login.php" --additional_urls="/wp-admin.php" --allowed=$admin_wordpress --label="$app - admin"
|
||||
# Add "label" for user panel
|
||||
#ynh_permission_update --permission="main" --label="$app - subscriber"
|
||||
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Add table
Reference in a new issue