1
0
Fork 0
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:
tituspijean 2023-08-25 17:29:27 +02:00
parent 8e7030d24f
commit 78124b10ec
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
6 changed files with 9 additions and 16 deletions

1
doc/ADMIN.md Normal file
View 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
View 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.

View file

@ -1,5 +1,5 @@
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

View file

@ -1,5 +1,5 @@
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

View file

@ -23,9 +23,9 @@ architectures = "all"
multi_instance = true
ldap = true
sso = true
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
disk = "50M"
ram.build = "300M"
ram.runtime = "50M"
[install]
[install.domain]
@ -65,7 +65,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
autoupdate.strategy = "latest_github_tag"
format = "tar.gz"
in_subdir = true
in_subdir = true
[resources.system_user]
@ -81,7 +81,7 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
admin.url = "/admin"
[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]
type = "mysql"

View file

@ -95,15 +95,6 @@ ynh_secure_remove --file=./data.sql
#ynh_setup_source "$data_dir/upload/templates/libreform" libreform
#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
#=================================================