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:37:57 UTC
syncope git commit: Added more standard attributes to 'Available'
list in Pull Policy Rule Configuration for Users and Groups
Repository: syncope
Updated Branches:
refs/heads/2_0_X 6e30a6f8b -> bc654aba1
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/bc654aba
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/bc654aba
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/bc654aba
Branch: refs/heads/2_0_X
Commit: bc654aba11f75a2dad1737255f6f1e1c6371e8a0
Parents: 6e30a6f
Author: skylark17 <ma...@tirasa.net>
Authored: Thu Sep 21 11:37:05 2017 +0200
Committer: skylark17 <ma...@tirasa.net>
Committed: Thu Sep 21 11:37:05 2017 +0200
----------------------------------------------------------------------
.../syncope/client/console/policies/PolicySpecModalPanel.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/bc654aba/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 fbe0c4e..57b3616 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
@@ -290,7 +290,9 @@ public class PolicySpecModalPanel extends AbstractModalPanel<PullPolicyTO> {
return input.getKey();
}
}, new ArrayList<String>());
-
+
+ choices.add("key");
+ choices.add(rule.getAny().equals(AnyTypeKind.USER.name()) ? "username" : "name");
Collections.sort(choices);
return choices;
}