Updated rngit docs

This commit is contained in:
Mark Qvist
2026-05-17 15:19:42 +02:00
parent 4f5482f2ae
commit 10156cc90e
7 changed files with 59 additions and 1 deletions
+15
View File
@@ -509,6 +509,21 @@ Permission Configuration Locations
- Repository permissions: ``<group_root>/<group_name>/<repo_name>.allowed``
- Document permissions: ``<group_root>/<group_name>.work/<doc_id>.allowed``
Identity & Destination Aliases
==============================
To make permission and remote destination management easier, you can locally define aliases for commonly used identity and destination hashes. Identity aliases used in permissions resolution can be defined in the ``[aliases]`` section of the ``~/.rngit/config`` file, while destination aliases are defined in the ``[aliases]`` section of the ``~/.rngit/client_config`` file.
All alias definitions take the form of ``aliased_name = HASH``:
.. code:: text
[aliases]
alice = d09285e660cfe27cee6d9a0beb58b7e0
bob = ffcffb4e255e156e77f79b82c13086a6
**Aliases are always resolved locally!** If for example you fork a repository with ``rngit fork rns://bobs_node/public/repo_name rns://my_node/forks/repo_name``, the forked repository will of course still reference the full, original destination hash, and use this for subsequent upstream syncs.
Serving Pages Over Nomad Network
================================