doc/manual.docbook
branchdebian
changeset 248 107d28ce67f5
parent 238 4747f2920666
child 252 75acaf1b1216
equal deleted inserted replaced
240:97a8fe72a35e 248:107d28ce67f5
   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>