Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/post-3.7-fixes' into post-3.7-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Feb 20, 2018
2 parents 4ab23f3 + f054694 commit a60a5ed
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
Expand Up @@ -18,7 +18,7 @@
<html xmlns:wicket="http://wicket.apache.org">
<wicket:extend>
<div class="row">
<div class="col-xs-1">
<div class="col-xs-2">
<button wicket:id="showMetadata" class="btn btn-box-tool"><i class="fa fa-asterisk"></i></button>
<button wicket:id="sortProperties" wicket:message="title:PrismObjectPanel.sortProperties"
class="btn btn-box-tool"><i class="fa fa-sort-alpha-asc"></i></button>
Expand Down
Expand Up @@ -501,8 +501,14 @@ body .treeview-menu > li > span:hover {
&.without-box-header-top-border {
border-top: 0px;
}

table {
// prohibit overflow of the table beyond the bounding box
table-layout: fixed;
}
}


.boxed-table-footer-button-toolbar {
display: inline-block;
}
Expand Down
54 changes: 54 additions & 0 deletions samples/roles/role-meta-approval-by-approver.xml
@@ -0,0 +1,54 @@
<!--
~ Copyright (c) 2018 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<!-- This is a meta-role. A Role indented to be assigned to other roles.
I really mean assigned, not included or induced. -->

<role oid="4ad48d38-158f-11e8-9170-2f75fd7f611c"
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
xmlns:piracy="http://midpoint.evolveum.com/xml/ns/samples/piracy">
<name>Approval by Approver</name>
<description>Meta-role that defines "approval by approver" policy. Any object that has this meta-role requires approval by the one of the approvers defined for that object.</description>

<inducement>
<policyRule>
<policyConstraints>
<assignment>
<operation>add</operation>
</assignment>
</policyConstraints>
<policyActions>
<approval>
<compositionStrategy>
<order>200</order>
</compositionStrategy>
<approvalSchema>
<level>
<name>Role approvers</name>
<approverRelation>approver</approverRelation>
<evaluationStrategy>firstDecides</evaluationStrategy>
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers>
</level>
</approvalSchema>
</approval>
</policyActions>
</policyRule>
</inducement>
<roleType>policy</roleType>
</role>

0 comments on commit a60a5ed

Please sign in to comment.