diff --git a/templates/acl.erb b/templates/acl.erb index 946de5e..2a3cff7 100644 --- a/templates/acl.erb +++ b/templates/acl.erb @@ -1,3 +1,4 @@ +<% if defined?(@community_parsed) and defined?(@allowed_hosts_parsed) -%> <% if defined?(@description) -%> # # <%= @description %> @@ -32,4 +33,4 @@ view <%= @view_name %> included <%= val %> # group context sec.model sec.level prefix read write notif access <%= @group_name %> "" any noauth <%= @context %> <% if @read %><%= @view_name %><% else %>none<% end %> <% if @write %><%= @view_name %><% else %>none<% end %> none -<% %> +<% end %>