summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-08-25 16:11:36 +0100
committerLars Wirzenius <liw@liw.fi>2016-12-18 14:02:04 +0100
commit0eb96448e294211cfecafa680349b2a670581985 (patch)
tree12064befe06b5aee9550a98c79dddc1d5103536f
parent4fd765a5be626f542395bb83c9cca10fff909c22 (diff)
downloadgitano-0eb96448e294211cfecafa680349b2a670581985.tar.gz
Add FIXME to fix as_user/group
-rw-r--r--doc/admin/000.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/admin/000.mdwn b/doc/admin/000.mdwn
index 2f2722a..9850f57 100644
--- a/doc/admin/000.mdwn
+++ b/doc/admin/000.mdwn
@@ -162,6 +162,25 @@ Table: Gitano predicates
`member/suffix` FIXME
---------------------- -----------
+FIXME: `as_user/group`:
+> as_user and as_group are related to the real human running the
+> command
+>
+> in the case of an 'as'd command, the user and group stuff is the
+> effectively the 'sudo'd user
+>
+> so if I run:
+>
+> as liw foobar
+>
+> user == liw
+>
+> group == liw's groups
+>
+> as_user == dsilvers
+>
+> as_group == dsilvers' groups
+
Predicates can be combined using the operators `anyof` and `allof`:
allow "Mammals are cool" anyof [user cat] [user dog]