doc/manual.docbook
changeset 238 4747f2920666
parent 221 c4c3facf5d6b
child 252 75acaf1b1216
equal deleted inserted replaced
237:d30f3f312ece 238:4747f2920666
   145 class='directory'>hgadmin</filename>.  This tells mercurial-server about Pat's key, but gives Pat no access to anything because the key is not under either <filename
   145 class='directory'>hgadmin</filename>.  This tells mercurial-server about Pat's key, but gives Pat no access to anything because the key is not under either <filename
   146 class='directory'>keys/root</filename> or <filename
   146 class='directory'>keys/root</filename> or <filename
   147 class='directory'>keys/users</filename>.  To grant this key access, we must give mercurial-server a new access rule, so we create a file in <filename
   147 class='directory'>keys/users</filename>.  To grant this key access, we must give mercurial-server a new access rule, so we create a file in <filename
   148 class='directory'>hgadmin</filename> called <filename>access.conf</filename>, with the following contents:</para>
   148 class='directory'>hgadmin</filename> called <filename>access.conf</filename>, with the following contents:</para>
   149 <programlisting># Give Pat access to the "widget" repository
   149 <programlisting># Give Pat access to the "widget" repository
   150 write repo=widget user=pat
   150 write repo=widget user=pat/*
   151 </programlisting>
   151 </programlisting>
   152 <para>
   152 <para>
   153 Pat will have read and write access to the <filename
   153 Pat will have read and write access to the <filename
   154 class='directory'>widget</filename> repository as soon as we add, commit, and push these files.
   154 class='directory'>widget</filename> repository as soon as we add, commit, and push these files.
   155 </para>
   155 </para>