2022-01-07 18:07:03 +01:00
version = "1.0"
[ main ]
name = "Dotclear2 configuration"
[ main . super_user ]
name = "Main permission for YunoHost users"
[ main . super_user . admin ]
ask = "Super Administrator"
type = "user"
2023-10-11 23:07:05 +02:00
bind = "super_user:__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users ]
name = "Yunohost users"
2022-01-10 11:18:31 +01:00
help = "These permissions apply to the first connection of the user, the super user can change them in dotclear."
2022-01-07 18:07:03 +01:00
[ ynh_users . main_permission ]
name = "Permissions for YunoHost users"
[ ynh_users . main_permission . blog_admin ]
ask = "Administrator"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'admin':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users . content ]
name = "Content permissions"
2022-01-10 10:56:15 +01:00
visible = "blog_admin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . content . blog_contentadmin ]
ask = "Manage all entries and comments"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'contentadmin':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users . content . blog_usage ]
ask = "Manage their own entries and comments"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'usage':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-10 10:56:15 +01:00
visible = "blog_contentadmin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . content . blog_publish ]
ask = "Publish entries and comments"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'publish':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-10 10:56:15 +01:00
visible = "blog_contentadmin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . content . blog_delete ]
ask = "Delete entries and comments"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'delete':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-10 10:56:15 +01:00
visible = "blog_contentadmin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . media ]
name = "Media permissions"
2022-01-10 10:56:15 +01:00
visible = "blog_admin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . media . blog_media_admin ]
ask = "Manage all media items"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'media_admin':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users . media . blog_media ]
ask = "Manage their own media items"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'media':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-10 10:56:15 +01:00
visible = "blog_media_admin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . other_permissions ]
name = "Other permissions"
2022-01-10 10:56:15 +01:00
visible = "blog_admin != 'true'"
2022-01-07 18:07:03 +01:00
[ ynh_users . other_permissions . blog_categories ]
ask = "Manage categories"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'categories':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users . other_permissions . blog_pages ]
ask = "Manage pages"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'pages':__INSTALL_DIR__/inc/class.auth.ldap.php"
2022-01-07 18:07:03 +01:00
[ ynh_users . other_permissions . blog_blogroll ]
ask = "Manage blogroll"
type = "boolean"
yes = "true"
no = "false"
2023-10-11 23:07:05 +02:00
bind = "'blogroll':__INSTALL_DIR__/inc/class.auth.ldap.php"
2023-10-11 23:40:25 +02:00
[ blogs ]
name = "Multiple blogs management"
2023-10-14 10:21:44 +02:00
[ blogs . blogs ]
name = ""
2023-10-11 23:40:25 +02:00
2023-10-14 10:21:44 +02:00
[ blogs . blogs . info ]
type = "alert"
style = "info"
ask = "Here you can instruct YunoHost to handle multiple blogs. It will create the appropriate permissions and NGINX configuration files.\n You still need to add them in Dotclear's administration panel. Removing them here will not delete them from Dotclear, and vice-versa."
[ blogs . blogs . blogs_list ]
ask = "List of blogs"
2023-10-11 23:40:25 +02:00
type = "tags"
pattern . regexp = "[\\w]+@[\\w.]+\\/[\\w]*"
pattern . error = "Incorrect format. Use `id@domain.example/path`"
2023-10-14 10:21:44 +02:00
help = "" " \
- The ` default ` blog cannot be deleted and will be put back in the list . Use the usual Change URL method to move it to a new URL . \ n \
- Additional blogs must be declared with the format ` id @ domain . example / path ` .
Each blog will have two permissions for main and admin access . By default the former has "visitors and all_users" access and the latter has "admins" group access .
Keeping the same ` id ` but changing the domain or path will keep the permission but reset the NGINX configuration file to the new location .
"" "