equal
deleted
inserted
replaced
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> |