<div class="gmail_quote">On Thu, Oct 7, 2010 at 7:57 AM, thomas veymont <span dir="ltr"><<a href="mailto:thomas.veymont@gmail.com">thomas.veymont@gmail.com</a>></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'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'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're using the 3.1.0dev (git) release, you can use a "&merge file" directive to read the common settings from one place:</div>
<div><br></div><div>[foobar]</div><div> &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> &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'd put the "path = /whatever" (etc.) settings in the foobar.conf file.</div>
<div><br></div><div>..wayne..</div></div>