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"
|
|
|
|
bind = "super_user:__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[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"
|
|
|
|
bind = "'admin':__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[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"
|
|
|
|
bind = "'contentadmin':__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[ynh_users.content.blog_usage]
|
|
|
|
ask = "Manage their own entries and comments"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
bind = "'usage':__FINALPATH__/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"
|
|
|
|
bind = "'publish':__FINALPATH__/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"
|
|
|
|
bind = "'delete':__FINALPATH__/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"
|
|
|
|
bind = "'media_admin':__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[ynh_users.media.blog_media]
|
|
|
|
ask = "Manage their own media items"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
bind = "'media':__FINALPATH__/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"
|
|
|
|
bind = "'categories':__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[ynh_users.other_permissions.blog_pages]
|
|
|
|
ask = "Manage pages"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
bind = "'pages':__FINALPATH__/inc/class.auth.ldap.php"
|
|
|
|
|
|
|
|
[ynh_users.other_permissions.blog_blogroll]
|
|
|
|
ask = "Manage blogroll"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
bind = "'blogroll':__FINALPATH__/inc/class.auth.ldap.php"
|