<%! from common.filters import auth %>
locked-icon

${_(u'没有权限访问或操作此资源')}

${_(u'资源')} ${_(u'需要申请的权限')}
<% actions = application["actions"] %> % for action in actions: % endfor
% if "related_resource_types" in action: <% related_resource_types = action["related_resource_types"] %> % if related_resource_types: % for rrt in related_resource_types: <% resources = rrt["instances"] %> % for ris in resources: % for instance in ris: ${auth.get_resource_type_name(instance["type"])}: ${instance["name"]} (${instance["id"]}) % endfor % endfor % endfor % else: -- % endif % else: -- % endif ${auth.get_action_name(action["id"])}