summaryrefslogtreecommitdiff
path: root/notes/rules-magical
diff options
context:
space:
mode:
Diffstat (limited to 'notes/rules-magical')
-rw-r--r--notes/rules-magical17
1 files changed, 17 insertions, 0 deletions
diff --git a/notes/rules-magical b/notes/rules-magical
new file mode 100644
index 0000000..51d9a72
--- /dev/null
+++ b/notes/rules-magical
@@ -0,0 +1,17 @@
+Magical parts of Legit rules
+----------------------------
+
+In order to make your life easier, Legit defines a bunch of magical stuff to
+help your rules.
+
+For example, the following users and groups are magical:
+
+
+legit/owner USER
+ This evaluates to the user who is marked as owning a repository.
+
+
+
+legit/anonymous USER
+ This evaluates to the 'anonymous' access user (i.e. gitweb and git://)
+