You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by sk...@apache.org on 2017/09/21 09:56:21 UTC

syncope git commit: Added more standard attributes to 'Available' list in Pull Policy Rule Configuration for Users and Groups [Forced Update!]

Repository: syncope
Updated Branches:
  refs/heads/master 9783d63e4 -> b4a407d84 (forced update)


Added more standard attributes to 'Available' list in Pull Policy Rule Configuration for Users and Groups


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/b4a407d8
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/b4a407d8
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/b4a407d8

Branch: refs/heads/master
Commit: b4a407d847faf9866c469a2e585e70564f8f6bf2
Parents: 84a1ae0
Author: skylark17 <ma...@tirasa.net>
Authored: Thu Sep 21 11:37:05 2017 +0200
Committer: skylark17 <ma...@tirasa.net>
Committed: Thu Sep 21 11:55:25 2017 +0200

----------------------------------------------------------------------
 .../syncope/client/console/policies/PolicySpecModalPanel.java      | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/b4a407d8/client/console/src/main/java/org/apache/syncope/client/console/policies/PolicySpecModalPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/policies/PolicySpecModalPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/policies/PolicySpecModalPanel.java
index 19dd7ba..4eaecb1 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/policies/PolicySpecModalPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/policies/PolicySpecModalPanel.java
@@ -279,6 +279,8 @@ public class PolicySpecModalPanel extends AbstractModalPanel<PullPolicyTO> {
                             : AnyTypeKind.ANY_OBJECT).stream().map(EntityTO::getKey).
                             collect(Collectors.toList());
 
+            choices.add("key");
+            choices.add(rule.getAny().equals(AnyTypeKind.USER.name()) ? "username" : "name");
             Collections.sort(choices);
             return choices;
         }