<div class="gmail_quote">On Thu, Oct 7, 2010 at 7:57 AM, thomas veymont <span dir="ltr">&lt;<a href="mailto:thomas.veymont@gmail.com">thomas.veymont@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
As far as I know, I should setup 2 distinct modules with different permissions, but sharing the same physical directory.<br></blockquote><div><br></div><div>Right.  That&#39;s the only solution for now.  The patch you cited (which should eventually be promoted to the 3.1.0dev code) does allow differentiation of ro/rw based on user, but some kind of user/group login is required (e.g. password-less anonymous access won&#39;t ever succeed for a module that has auth defined).</div>
<div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>One thing that can help out with the configuration of multiple modules is available if you&#39;re using the 3.1.0dev (git) release, you can use a &quot;&amp;merge file&quot; directive to read the common settings from one place:</div>
<div><br></div><div>[foobar]</div><div>    &amp;merge /some/foobar.conf</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>    read only = yes</div><div>[foobar-auth]</div><div>    &amp;merge /some/foobar.conf</div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>    read only = no</div><div>    auth users = joe sam jane</div></div><div><br></div><div>You&#39;d put the &quot;path = /whatever&quot; (etc.) settings in the foobar.conf file.</div>
<div><br></div><div>..wayne..</div></div>