From 6e15ba5b1debf7660522dd3c13dccffa420b671f Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Wed, 11 May 2022 15:57:31 +0200 Subject: [PATCH] Fix permission at install: this is a public application --- doc/DISCLAIMER.md | 1 + doc/DISCLAIMER_fr.md | 1 + scripts/install | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index e64a2cd..3545f35 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,3 +1,4 @@ - There is currently no LDAP integration - the installation is very long, especially the frontend building step - As upstream doesn't support it, there is no possibility to change the endpoint/url of diaspora\*. Please choose it carefully! +- The main permission should be granted to "visitors". In other term, diaspora is intented to be a public application. Only deviate from that if you know what you are doing! diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md index 3783723..dc0245c 100644 --- a/doc/DISCLAIMER_fr.md +++ b/doc/DISCLAIMER_fr.md @@ -1,3 +1,4 @@ - Il n'y a pas d'intégration LDAP pour le moment. - L'installation est très longue, en particulier l'étape de build du frontend. - le projet amont ne supporte pas les changements d'url, ainsi l'application yunohost ne supporte pas non plus cette action. +- Le groupe visiteur doit avoir la permission "diaspora.main". En d'autres termes, diaspora est supposé être une application publique. Ne changez cela que si vous savez ce que vous faîtes ! diff --git a/scripts/install b/scripts/install index 3f03fe8..ab4568f 100755 --- a/scripts/install +++ b/scripts/install @@ -170,8 +170,7 @@ yunohost service add $app.target \ #================================================= # SETUP SSOWAT #================================================= - - +ynh_permission_update --permission "main" --add visitors #================================================= # CREATE AN ADMIN