YunoHost-Apps / sogo_ynh

SOGo Groupware for YunoHost.
https://sogo.nu/
GNU General Public License v3.0
6 stars 5 forks source link

Calendar sharing only works with the user chosen as admin (default permission is missing) #2

Closed Vey closed 5 years ago

Vey commented 5 years ago

It may not be the way to go but this is the only way I found that worked. I hope it helps.

To be able to share calendars and contacts among users, edit sogo.conf:

$ sudo nano /etc/sogo/sogo.conf

add these lines:

 /* Default Calendar and Contacts Permissions */
 SOGoCalendarDefaultRoles = ("PublicViewer", "ConfidentialDAndTViewer", "PrivateDAndTViewer");
 SOGoContactsDefaultRoles = ("ObjectViewer");

restart sogo

sudo /etc/init.d/sogo restart

Cheers and thanks for your work

Josue-T commented 5 years ago

Hello,

Thanks for your issue. Can you just explain what did you try to do and what didn't work.

As I see the sogo documentation the recommended values are these :

 /* Default Calendar and Contacts Permissions */
 SOGoCalendarDefaultRoles = ("PublicViewer", "ConfidentialDAndTViewer");
 SOGoContactsDefaultRoles = ("ObjectViewer");

Did you try it ?

And as it's written "Default", understand that it could be changed.

Anyway if you think that's the best option I can happily fix this in the package.

Vey commented 5 years ago

Use case is:

I removed the 'PrivateDAndTViewer' value you specified and it seems to keep working

Josue-T commented 5 years ago

Should be fixed in the testing branch