Use this form as a limited test for those settings you saved.* This will test user creation and group membership. If settings don't work, use another browser to try actually logging in. (unless you'd rather get locked out)
-
*You did save them, right?
-
-
-
Test Results:
+
+
+
Crowd Login 0.1
+
+
+
Test Settings
+
Use this form as a limited test for those settings you saved.* This will test user creation and group membership. If settings don't work, use another browser to try actually logging in. (unless you'd rather get locked out)
";
+ return html;
+}
+
+(function($){
+ $(document).ready(function(){
+
+ $(".cl-mode").click(function(){
+ $(".additional-input").remove();
+ var id = $(this).attr("id");
+ if (id === "cl-mode-create-all") {
+ var html = selectRole(crowdAccountType);
+ $("#cl-mode-create-all").parent().append(html);
+ } else if (id === "cl-mode-create-group") {
+ var html = selectRole(crowdAccountType);
+ var parent = $("#cl-mode-create-group").parent()
+ parent.append(html);
+ parent.append(groupInput(crowdGroup));
+ } else if (id === "cl-mode-map-group") {
+ $("#cl-mode-map-group").parent().append(mapGroup());
+ }
+ });
+
+ $(".cl-mode[checked='checked']").click();
+
+ });
+})(jQuery);
diff --git a/readme.txt b/readme.txt
index 850298e..8d328a7 100644
--- a/readme.txt
+++ b/readme.txt
@@ -19,6 +19,7 @@ Having a single login for every service is a must in large organizations. This p
* * Normal Mode: Authenticates existing Wordpress usernames against Crowd. This requires you to create all Wordpress accounts manually using the same user names as those in your Crowd directory.
* * Account Creation Mode 1: Creates Wordpress accounts automatically for any Crowd user.
* * Account Creation Mode 2: Creates Wordpress accounts automatically for Crowd users in a specific Group you specify.
+* * Account Creation Mode 3: Creates Wordpress accounts automatically for Crowd users in groups you specify, you have to map these groups onto Wordpress roles. If user is in Crowd group A, B and mapping from B Crowd group is to role which has more capabilities like **Administrator**, than role which is mapped from Crowd group A, like **Editor**, then the user will have the role with more capabilities (**Administrator**).
* Intuitive control panel.
= Architecture =