Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0004905SOGoWeb Mailpublic2022-05-16 14:34
Reporterjas Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version4.1.1 
Summary0004905: Weird ACL with SOGo and CyrusImapd through webui
Description

For a shared folder when selecting «Erasing mails from this folder» access right, sogo doesn't put actually the correct right on the server.
To get the «Erasing mails from this folder» you need to give all right with the square button on the top (right side), then delete the «Modify the ACL for this folder» to gain the «Erasing mails from this folder» access right.

Steps To Reproduce

Select any folder
Click on the 3 dots
Select «Sharing...»
Add a new user
Select the «Erasing mails from this folder» access right
Save
Check on the server, you can see the «e» access right are not present

Additional Information

Sogo on Debian 9
Cyrus-Imap 3.0.11 on FreeBSD

TagsNo tags attached.

Relationships

related to 0004906 closedfrancis ACL right are not complete 

Activities

bahnkonzept

bahnkonzept

2022-03-01 14:27

reporter   ~0015923

Last edited: 2022-03-03 19:13

We can reproduce the issue with SOGo 5.5.0.

What seems to be missing is the "e" (expunge) ACL flag, that is not set by SOGo when activating the "Insert, copy and move mails into this folder" and "Erase mails from this folder" access rights on a folder.

Steps to reproduce

  1. We set the access rights as shown in the attached screenshot (rights are set for //user1@example.com// on the //user2@excample.com// INBOX folder)
  2. //user1@example.com// tries to move an email from //user1@example.com//'s INBOX folder and gets an //access denied// notification in SOGo (and any other mail client like Thunderbird)

Current workaround

Set the "e" (expunge) IMAP ACL flag manually. For Dovecot:

doveadm acl add -u user2@example.com INBOX user=user1@example.com expunge

After setting the "e" flag, user1@example.com can move mails from user2@example.com's INBOX folder without any issues (using SOGo or any other mail client like Thunderbird)

acl.png (730,322 bytes)
francis

francis

2022-03-03 19:37

administrator   ~0015927

I can't reproduce the issue. If I select the Expunge this folder right, it properly gets updated on the mailstore (Dovecot):

# doveadm acl get -u sogo1 INBOX
ID         Global Rights
user=sogo2        expunge insert lookup read write write-deleted write-seen
bahnkonzept

bahnkonzept

2022-04-12 17:02

reporter   ~0015966

After some research it does not look like and ACL issue, but just a misleading translation of the phrase //Expunge this folder//.

In ''UI/MailerUI/German.lproj/Localizable.strings'' it translates to //Diesen Ordner komprimieren//. But that actually means //Compress this folder//, which is a little bit confusing, i guess.

A better translation would be //Diesen Ordner leeren// or - when taking the real meaning of the ACL ''e'' flag into account - //Gelöschte Mails im Ordner endgültig löschen//.

francis

francis

2022-04-13 15:22

administrator   ~0015967

Please join the Transifex team to contribute to the translations. Thanks!

francis

francis

2022-05-03 13:29

administrator   ~0016021

Reminder sent to: Christian Mack

What do you think of the translation suggested by @bahnkonzept?

Christian Mack

Christian Mack

2022-05-16 14:34

developer   ~0016057

//Diesen Ordner leeren// is plain wrong, as it literally means //Empty this folder//.
We use //Diesen Ordner komprimieren// because the same function in Thunderbird is called //Komprimieren// in German. since more than 15 years.
//Gelöschte Mails im Ordner endgültig löschen// would be correct and better understandable for new users, but much longer than the current setting.

Issue History

Date Modified Username Field Change
2019-12-10 13:16 jas New Issue
2019-12-11 08:52 Christian Mack Relationship added related to 0004906
2022-03-01 14:28 bahnkonzept Note Added: 0015923
2022-03-01 14:28 bahnkonzept File Added: acl.png
2022-03-03 19:13 francis Note Edited: 0015923
2022-03-03 19:37 francis Note Added: 0015927
2022-04-12 17:02 bahnkonzept Note Added: 0015966
2022-04-13 15:22 francis Note Added: 0015967
2022-04-25 20:20 francis Severity major => minor
2022-05-03 13:29 francis Note Added: 0016021
2022-05-16 14:34 Christian Mack Note Added: 0016057