Skip to content

Commit

Permalink
Upgrade to midPoint 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavek Licehammer committed Nov 13, 2023
1 parent c892404 commit eec5d1f
Show file tree
Hide file tree
Showing 17 changed files with 405 additions and 334 deletions.
2 changes: 1 addition & 1 deletion common.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
maintainer="i2incommon"
imagename="midpoint"
tag="4.7.2"
tag="4.8"
4 changes: 2 additions & 2 deletions demo/grouper/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ services:
- CREATE_NEW_DATABASE=if_needed

data_init:
image: i2incommon/midpoint:${tag:-4.7.2}
image: i2incommon/midpoint:${tag:-4.8}
command: >
bash -c "
chmod 777 /opt/mp-pw/ ;
Expand Down Expand Up @@ -229,7 +229,7 @@ services:
build:
context: ./midpoint_server/
args:
tag: ${tag:-4.7.2}
tag: ${tag:-4.8}
depends_on:
- data_init
- midpoint_data
Expand Down
2 changes: 1 addition & 1 deletion demo/grouper/midpoint_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG tag=4.7.2
ARG tag=4.8

FROM i2incommon/midpoint:${tag}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,4 @@
</expression>
</condition>
</inducement>
<!-- TODO MidPoint Basics Training, LAB 4-10: uncomment the following content -->
<!--
<inducement>
<description>
This inducement applies for Users assigned to an Org with the "affiliation" archetype.
It will create an account in "Staff Portal" by assignment of "Staff Portal Basic Role"
</description>
<targetRef oid="1620de52-0142-11ea-aa66-9fa873ad13ff" type="c:RoleType" />
<order>2</order>
<condition>
<description>only if the organization's identifier is 'staff'</description>
<expression>
<script>
<code>assignmentPath[0].target.identifier == 'staff'</code>
</script>
</expression>
</condition>
</inducement>
-->
<!-- TODO MidPoint Basics Training, LAB 4-10: end of to-be-uncommented content -->
</archetype>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>
<name>External</name>
<description>Non-academic person with no relation to the academy environment</description>
<assignment>
<assignmentRelation>
<holderType>UserType</holderType>
</assignmentRelation>
</assignment>
<archetypePolicy>
<display>
<label>External</label>
Expand All @@ -17,9 +22,4 @@
</icon>
</display>
</archetypePolicy>
<assignment>
<assignmentRelation>
<holderType>UserType</holderType>
</assignmentRelation>
</assignment>
</archetype>
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>
<name>SIS Person</name>
<description>Person with a relation to the academy environment, coming from the SIS database</description>
<assignment>
<assignmentRelation>
<holderType>UserType</holderType>
</assignmentRelation>
</assignment>
<archetypePolicy>
<display>
<label>SIS Person</label>
Expand All @@ -17,9 +22,4 @@
</icon>
</display>
</archetypePolicy>
<assignment>
<assignmentRelation>
<holderType>UserType</holderType>
</assignmentRelation>
</assignment>
</archetype>
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<condition>
<script>
<code>
assignment?.subtype.contains('grouper-group')
assignment?.subtype?.contains('grouper-group')
</code>
</script>
</condition>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
<org xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
oid="d48ec05b-fffd-4262-acd3-d9ff63365b62">
<name>org-grouper-sysadmin</name>
<displayName>Grouper Administrators</displayName>

<assignment id="1">
<targetRef oid="2be36917-71ad-4c3e-8789-89cadea2d5d6" type="ArchetypeType"/> <!-- archetype midpoint-group -->
</assignment>

<displayName>Grouper Administrators</displayName>
<identifier>sysadmingroup</identifier>
</org>
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<outbound>
<strength>strong</strength>
<source>
<path>employeeNumber</path>
<path>personalNumber</path>
</source>
</outbound>
</attribute>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<objects xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3">
<securityPolicy xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-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" oid="00000000-0000-0000-0000-000000000120" version="2">
<securityPolicy xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-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" oid="00000000-0000-0000-0000-000000000120" version="2">
<name>Default Security Policy</name>
<authentication>
<modules>
Expand Down Expand Up @@ -69,7 +66,7 @@
<requireAssignmentTarget oid="00000000-0000-0000-0000-000000000004" relation="org:default" type="c:RoleType">
</requireAssignmentTarget>
<module>
<name>internalLoginForm</name>
<identifier>internalLoginForm</identifier>
<order>30</order>
<necessity>sufficient</necessity>
</module>
Expand Down Expand Up @@ -111,6 +108,4 @@
<valuePolicyRef oid="00000000-0000-0000-0000-000000000003"/>
</password>
</credentials>
</securityPolicy>

</objects>
</securityPolicy>
Loading

0 comments on commit eec5d1f

Please sign in to comment.