Skip to content

Instantly share code, notes, and snippets.

@OskarButovic
Created August 21, 2017 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OskarButovic/c525786b42ea0f1ea7a80fd354fdfa14 to your computer and use it in GitHub Desktop.
Save OskarButovic/c525786b42ea0f1ea7a80fd354fdfa14 to your computer and use it in GitHub Desktop.
<role xmlns:apti="http://midpoint.evolveum.com/xml/ns/public/common/api-types-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:gen45="http://prism.evolveum.com/xml/ns/public/debug" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
oid="supervisor-approved-role-meta-role" version="10" xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
<name>Supervisor Approved Role</name>
<inducement>
<policyRule>
<policyConstraints>
<assignment>
<operation>add</operation>
</assignment>
</policyConstraints>
<policyActions>
<approval>
<compositionStrategy>
<order>10</order>
</compositionStrategy>
<approvalSchema>
<level>
<name>Line manager</name>
<approverExpression>
<script>
<code>
return null;
</code>
</script>
</approverExpression>
<evaluationStrategy>firstDecides</evaluationStrategy>
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers>
</level>
</approvalSchema>
</approval>
</policyActions>
</policyRule>
</inducement>
</role>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment