mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Appease linter and improve documentation/permissions
This commit is contained in:
parent
8e7030d24f
commit
78124b10ec
6 changed files with 9 additions and 16 deletions
1
doc/ADMIN.md
Normal file
1
doc/ADMIN.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Grant the Visitors group access to the `admin` permission so that any Limesuvey user can create a survey, in addition to YunoHost users who have the permission.
|
1
doc/ADMIN_fr.md
Normal file
1
doc/ADMIN_fr.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Donnez au groupe Visiteurs la permission `admin` pour que n'importe quel utilisateur de Limesurvey puisse créer un sondage, en plus des utilisateurs YunoHost en ayant la permission.
|
|
@ -1,5 +1,5 @@
|
||||||
LimeSurvey was successfully installed :)
|
LimeSurvey was successfully installed :)
|
||||||
|
|
||||||
You can now create a poll on this address: https://__DOMAIN____PATH__/admin/
|
You can now create a poll on this address: https://__DOMAIN____PATH__admin/
|
||||||
|
|
||||||
If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/limesurvey_ynh/issues
|
If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/limesurvey_ynh/issues
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
LimeSurvey a été installé avec succès. :)
|
LimeSurvey a été installé avec succès. :)
|
||||||
|
|
||||||
Vous pouvez maintenant créer un sondage à cette adresse : https://__DOMAIN____PATH__/admin/
|
Vous pouvez maintenant créer un sondage à cette adresse : https://__DOMAIN____PATH__admin/
|
||||||
|
|
||||||
Si vous rencontrez un quelconque problème, ou si vous souhaitez améliorer cette app, rendez-vous à l'adresse : https://github.com/YunoHost-Apps/limesurvey_ynh/issues
|
Si vous rencontrez un quelconque problème, ou si vous souhaitez améliorer cette app, rendez-vous à l'adresse : https://github.com/YunoHost-Apps/limesurvey_ynh/issues
|
||||||
|
|
|
@ -23,9 +23,9 @@ architectures = "all"
|
||||||
multi_instance = true
|
multi_instance = true
|
||||||
ldap = true
|
ldap = true
|
||||||
sso = true
|
sso = true
|
||||||
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
disk = "50M"
|
||||||
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
ram.build = "300M"
|
||||||
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
ram.runtime = "50M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
[install.domain]
|
[install.domain]
|
||||||
|
@ -65,7 +65,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
|
||||||
|
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
format = "tar.gz"
|
format = "tar.gz"
|
||||||
in_subdir = true
|
in_subdir = true
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
|
||||||
admin.url = "/admin"
|
admin.url = "/admin"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "php7.3-cli, php7.3-mysql, php7.3-imap, python3-pip, php7.3-gd, php7.3-ldap, php7.3-zip, php7.3-mbstring"
|
packages = "mariadb-server, php7.3-cli, php7.3-mysql, php7.3-imap, python3-pip, php7.3-gd, php7.3-ldap, php7.3-zip, php7.3-mbstring"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "mysql"
|
type = "mysql"
|
||||||
|
|
|
@ -95,15 +95,6 @@ ynh_secure_remove --file=./data.sql
|
||||||
#ynh_setup_source "$data_dir/upload/templates/libreform" libreform
|
#ynh_setup_source "$data_dir/upload/templates/libreform" libreform
|
||||||
#ynh_setup_source "$install_dir/upload/templates/librepoll" librepoll
|
#ynh_setup_source "$install_dir/upload/templates/librepoll" librepoll
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC FINALIZATION
|
|
||||||
#=================================================
|
|
||||||
# SETUP SSOWAT
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Grant $admin access to /admin, whether or not Visitors has been selected in the installation form
|
|
||||||
ynh_permission_update --permission="admin" --add="$admin"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue