From c1f586f093e6ab3a37df1d3ea3e2f9c0185f9f62 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 14 Jun 2011 17:47:31 +0200 Subject: support for editing policy acls --- templates/apps/name/acls.html | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/apps/name/acls.html b/templates/apps/name/acls.html index 28a8f1c..e1becbb 100644 --- a/templates/apps/name/acls.html +++ b/templates/apps/name/acls.html @@ -8,7 +8,33 @@ }); {% endblock %} {% block content %} -

Permissions on {{name.short}}

+ +{% if type == "2" %} +

Access Control Policy

+
+
+

+ WARNING The entries below represents access control policy for {{name.short}}. Access + control policy is the default access control used when creating new groups below this group. Changes + will only affect newly created groups below this group. Only change this if you know + what you are doing.

+

Switch to Normal Access Control View

+
+
+{% else %} +

Access Control

+
+
+

+ The entries below represents access control for {{name.short}}. Only change this if you know + what you are doing. If you really, really, really know what you are doing you may also + switch to access control policy view + and change the default access control for groups created below this group.

+
+
+ +{% endif %} +
{% for ace in acl %}
@@ -25,7 +51,7 @@ {% endfor %}