5714c480bb705939ef33de2ec7e8fb501809aa49 |
|
19-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
acl: Add acl_globals_only setting
The local dovecot-acl files aren't even attempted to be looked up if this is
set. This is mainly useful to avoid unnecessary stat()s to dovecot-acl files
that never exist. |
37c72fa0cd3f1d74d79b64afb3fb6da5ffd4fe3a |
|
06-Sep-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
acl-plugin: Make iterators more conforming
The *_next functions return true/false, deinit will
report errors and end result. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
e293d46ffe09252ae50704b2a53be6e5b9bdc778 |
|
28-Oct-2015 |
Timo Sirainen <tss@iki.fi> |
acl: acl_object_list_*() now duplicates rights at init to avoid them changing during listing.
Depending on the calling code the acl_object could have been refreshed
during the listing and caused bugs/crashes.
This fixes a crash at least in mailbox deletion during attribute deletion
where iter->idx was higher (2) than the number of rights at the time (0). |
4c158400b046fefefce0194603951a6587f51867 |
|
27-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl plugin: Added an alternative global ACL file that can contain mailbox patterns.
Instead of pointing the global ACL path to a directory use a file instead.
The file format is "<mailbox pattern> <normal ACL line>". Most importantly
this can be used to specify default ACLs for namespaces.
The mailbox pattern uses "*" and "?" wildcards currently. I'm not sure if I
should still change them to IMAP "*" and "%" wildcards. That would make the
behavior more complex ("%" depends on hierarchy separator), slightly slower
and quota code is already also using the */? wildcards.. |
086c52e4bcdc950e47ee331e1e07c9c10982a670 |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Moved acl_rights array from vfile-specific code to generic struct acl_object. |
15f43b172d2c626aa03c921979c49821a55c7e5e |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: More code cleanups. |
cc287b822b175619a853686b738ba673e370117b |
|
17-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
acl: Code cleanup by moving around the code and renaming functions. |
515d649c1802beb48433b90125518c00d0a1fbb4 |
|
06-May-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Optionally get default ACL's for private/shared namespaces from user's INBOX.
This probably should be the default always, but better not break anyone's
existing setup until v2.3.0. So for now there's a setting for this:
plugin { acl_defaults_from_inbox = yes } |
eb4d4f557fa75aa2a47639e9deb75a21f44eb42a |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
acl: Added ACL checks for attributes. Added ACL <-> mailbox attribute mapping.
The ACL checks will be useful once IMAP METADATA extension is finished. The
mapping is used by dsync to sync ACLs via generic attribute syncing. |
579e70631b8474d20fd3829f477c62950e5f9635 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added acl_backend_nonowner_lookups_rebuild() |
83ecd8be84b53e63c18afa3e835f490c471b7578 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added acl_backend_nonowner_lookups_rebuild() |
fe25191fe9f906a0dc831732d1ef085aadd28a13 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added doveadm plugin supporting acl get/set/rights/debug commands. |
7d8afd1e15bdf23b5fd13aa9ac9606aca2797125 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
acl: Added doveadm plugin supporting acl get/set/rights commands. |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
0b2f7be9fadfd4026a9174e51170890cde3edf48 |
|
20-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
imap-acl: GETACL: Convert "owner" to the actual username whenever possible.
--HG--
branch : HEAD |
81e6e1ef0feef60644a4c4b745d82a4c98223aff |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Initial support for LISTing users with shared mailboxes.
--HG--
branch : HEAD |
3cd0463d17cf9ecbc3d826d60b36800d09f0633c |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: When lookup ACLs are changed, make sure dovecot-acl-list is updated.
--HG--
branch : HEAD |
7705148680904051b573a9125ecee765032a5809 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Default owner rights override anyone/authenticated/group rights.
--HG--
branch : HEAD |
02a54da28f376dd66d7939d8546a196a0045b486 |
|
16-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Added IMAP ACL commands with ability to modify ACLs.
Based on patch by Bernhard Herzog and Sascha Wilde.
--HG--
branch : HEAD |
da9f6acdcb303d0fe5160b669668aedf39c8f45a |
|
07-Sep-2008 |
Timo Sirainen <tss@iki.fi> |
acl: Fixed handling 'k' right. Although box/child creation was prevented, box/child/child wasn't.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
2f122b4db3f0d4eeb59ff9d306e54b2009d72cf9 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Create dovecot-acl-list file that lists all mailboxes where non-owner has
lookup right. Use the file when listing mailboxes in shared/public
namespace.
--HG--
branch : HEAD |
e7ca5f820d6a1a8fe549a2966ac707a60e055ef4 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
acl_backend is now tied to mailbox_list instead of mail_storage.
--HG--
branch : HEAD |
3809b9691c46926aa54968ac8e418d04361e1efa |
|
28-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
If debug is enabled, log some debugging messages. Also cleaned up the code
bit, and made "acl = vfile" not require ":" after the "vfile".
--HG--
branch : HEAD |
8ab69d02c689fbdad2a1c83a5cd27e6adf21ca6c |
|
04-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
If .DEFAULT file exists in global ACL root directory, use it as the default
ACLs for all mailboxes.
--HG--
branch : HEAD |
08a0b7b0d0444875001847ef2b1b7b76122620ab |
|
28-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Don't keep acl_objects permanently in memory. Moved cache validity information into cache records. Some other cleanups and fixes.
--HG--
branch : HEAD |
7fb70daba4e571eab5b64f496d20b9e37e31141b |
|
27-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added initial support for ACLs. Currently supports reading the ACLs from files. Since no proper support for shared folders exist yet, this is mostly intended to be used only for preventing users from fully accessing the mailboxes they'd otherwise have full access to. It anyway does support "master user" having different ACLs to mailboxes.
--HG--
branch : HEAD |