ACLs user ids

Côme Chilliet <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Organization FusionDirectory
Message-ID <10375016.Z6NHPf3ssp@mcmic-probook>
Hello,

I’m trying to fix ACL support for cyrus in our software written in PHP.

It’s hard to understand which user id is expected when calling imap_setacl: https://www.php.net/manual/en/function.imap-setacl.php

Does using the user email address works?

Is using imap_setacl the same as using the setacl command in cyradm?

Why doesn’t setacl complains if I give wrong user id? I tried "setacl share/[email protected] nonexistinguser lr" and it does not complain, and lists it back when using listacl, even if the user does not exists.

-- 
Côme Chilliet
FusionDirectory - https://www.fusiondirectory.org

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEnJSNrcx2T3JL/3cLqGTYw87LDgAFAl341JwACgkQqGTYw87L
DgD32xAAyY6EB7R/LqDgvozl1FKaBnmm25ZUOl6OCCqLRu91zQXcxpQWcrG8Q8A4
Q31luwHfXDLSHGEzcoA3AAQW0l3sguGzhyhUfD/Q0R0Of3GiNbec8ZsrPEOmUNGK
5fq9QXJVZS+O8BFV45wrB6QqPbD+wtOHCL5crwe0WOdR9dpaXZV004C75F5dewAy
UyCP+FU6UW+vb2jRNJb+6SaIk5QxeFtqtzRUz849Q6lzGwsiabyn2r7QWwrwakt0
+0psjaHNcSGiaYmyvDkQ32tE6S3pXuSm4hNKI28k3VS1H1IRanbd5jfLIsuYzFPc
UihXsTRHjl/5bYWaulGkQvtj2anle1zRDWABkhYIDih0cyfpy9PukaBE3ckSsZKZ
4CBqHlKPXpivxXYdwhY6I5m+EEZ6Mpt1uclmh0yFQ4JRNrwA6RS1ikjUufR6g6B8
kYZOzfvMW38TME/jiCHieTyDFeOB29L6gTIgTFCzJTKWImRHIDz5QEANOOSeNHh9
OzyWN3jCa5Yt5/THRJjOhgcZZJ/towbdS5BaMCGcZb+W269VUF/iXvkVQh+Ccbx5
24+5yKGip/aEX2FCgPTnJz5Arh/Gs7Qk0ZnZqmf88GZbUxQuBU06BbaYdVBHGgaK
pV/cD+7T2fze5kAVElUeTkYP7C+lMcC3fIQOBID31j0MmxilCL4=
=051r
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.