Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Evolveum/midpoint
- Loading branch information
Showing
37 changed files
with
1,176 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
gui/admin-gui/src/main/resources/initial-objects/043-role-delegator.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright (c) 2016 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. | ||
--> | ||
<role oid="00000000-0000-0000-0000-00000000000c" | ||
xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" | ||
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"> | ||
<name>Delegator</name> | ||
<description>Role authorizing users to delegate their own privileges to any other user.</description> | ||
<authorization> | ||
<name>gui-delegator-access</name> | ||
<description> | ||
Allow access to the delegate functionality (e.g. "add delegation" button). | ||
</description> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#delegate</action> | ||
</authorization> | ||
<authorization> | ||
<name>delegator-req</name> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#delegate</action> | ||
<phase>request</phase> | ||
<object> | ||
<type>UserType</type> | ||
</object> | ||
<target> | ||
<special>self</special> | ||
</target> | ||
</authorization> | ||
<authorization> | ||
<name>delegator-exec-user</name> | ||
<description> | ||
Quite strong universal execution rights are needed here. We are going to modify other users | ||
(deputy assignments are in the delegate user, not delegator). | ||
</description> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify</action> | ||
<phase>execution</phase> | ||
<object> | ||
<type>UserType</type> | ||
</object> | ||
</authorization> | ||
<authorization> | ||
<name>delegator-exec-shadow</name> | ||
<description> | ||
Quite strong universal execution rights are needed here. We are going to modify other users | ||
(deputy assignments are in the delegate user, not delegator). Modification of other users | ||
may mean also creation/modification/deletion of their accounts. | ||
</description> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#add</action> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#modify</action> | ||
<action>http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#delete</action> | ||
<phase>execution</phase> | ||
<object> | ||
<type>ShadowType</type> | ||
</object> | ||
</authorization> | ||
</role> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.