diff options
-rw-r--r-- | coip/extensions/templatetags/permdisplay.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/coip/extensions/templatetags/permdisplay.py b/coip/extensions/templatetags/permdisplay.py index 3928094..c70bb86 100644 --- a/coip/extensions/templatetags/permdisplay.py +++ b/coip/extensions/templatetags/permdisplay.py @@ -32,6 +32,14 @@ def acldstdisplay(dst): return userdisplay(user) else: return "Unknown user \"%s\"" % username + elif dst.display == 'system:anyusers': + return "all users" + elif dst.display == 'system:anyentity': + return "all services and identity providers" + elif dst.display == 'system:anysp': + return "all services" + elif dst.display == 'system:anyidp': + return "all identity providers" else: return "members of %s (%s)" % (dst.short,dst.display) |