Skip to content

Commit

Permalink
Merge f7d5c8b into b6f7b9c
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-despland committed Dec 30, 2019
2 parents b6f7b9c + f7d5c8b commit eeeefe8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/authzforce/rule.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<Target>
<AnyOf>
<AllOf>
<% if(role_permissions[role_id][i].is_regex==1){ %>
<Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
<% } else{ %>
<Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
<% } %>
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string"><%= role_permissions[role_id][i].resource %></AttributeValue>
<AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:resource"
AttributeId="urn:thales:xacml:2.0:resource:sub-resource-id" DataType="http://www.w3.org/2001/XMLSchema#string"
Expand Down

0 comments on commit eeeefe8

Please sign in to comment.