Show More
@@ -781,15 +781,20 b' Controls generic server settings.' | |||||
781 |
|
781 | |||
782 | ``trusted`` |
|
782 | ``trusted`` | |
783 | """"""""""" |
|
783 | """"""""""" | |
784 | For security reasons, Mercurial will not use the settings in the |
|
784 | ||
|
785 | Mercurial will not use the settings in the | |||
785 | ``.hg/hgrc`` file from a repository if it doesn't belong to a trusted |
|
786 | ``.hg/hgrc`` file from a repository if it doesn't belong to a trusted | |
786 |
user or to a trusted group |
|
787 | user or to a trusted group, as various hgrc features allow arbitrary | |
787 | which automatically uses some safe settings, since it's common to |
|
788 | commands to be run. This issue is often encountered when configuring | |
788 | serve repositories from different users. |
|
789 | hooks or extensions for shared repositories or servers. However, | |
|
790 | the web interface will use some safe settings from the ``[web]`` | |||
|
791 | section. | |||
789 |
|
792 | |||
790 | This section specifies what users and groups are trusted. The |
|
793 | This section specifies what users and groups are trusted. The | |
791 | current user is always trusted. To trust everybody, list a user or a |
|
794 | current user is always trusted. To trust everybody, list a user or a | |
792 | group with name ``*``. |
|
795 | group with name ``*``. These settings must be placed in an | |
|
796 | *already-trusted file* to take effect, such as ``$HOME/.hgrc`` of the | |||
|
797 | user or service running Mercurial. | |||
793 |
|
798 | |||
794 | ``users`` |
|
799 | ``users`` | |
795 | Comma-separated list of trusted users. |
|
800 | Comma-separated list of trusted users. |
General Comments 0
You need to be logged in to leave comments.
Login now