mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 08:32:44 +00:00
See ChangeLog.
Monotone-Parent: d880f3f750251d35b56db7d720ccacbdeead7540 Monotone-Revision: 05f8b72feb6a6c81f20462457e2dbc6c47ae9edc Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-02-01T21:11:28
This commit is contained in:
@@ -21,9 +21,16 @@ function onUpdateACL(event) {
|
||||
}
|
||||
}
|
||||
if (enabled) {
|
||||
showConfirmDialog(_("Confirmation"), _("Are you sure you want to give rights to " + ((uid == "<default>")?"all authenticated users":"everybody") + "?"),
|
||||
onUpdateACLConfirm, onUpdateACLCancel,
|
||||
"Give Access", "Keep Private");
|
||||
if (uid == '<default>')
|
||||
showConfirmDialog(_("Warning"),
|
||||
_("Any user with an account on this system will be able to access your calendar \"%{0}\". Are you certain you trust them all?").formatted($("folderName").allTextContent()),
|
||||
onUpdateACLConfirm, onUpdateACLCancel,
|
||||
"Give Access", "Keep Private");
|
||||
else
|
||||
showConfirmDialog(_("Warning"),
|
||||
_("Potentially anyone on the Internet will be able to access your calendar \"%{0}\", even if they do not have an account on this system. Is this information suitable for the public Internet?").formatted($("folderName").allTextContent()),
|
||||
onUpdateACLConfirm, onUpdateACLCancel,
|
||||
"Give Access", "Keep Private");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user