Add admin users to Connections security roles – the easy way

It happened again some weeks ago when I installed the Connections 3.0.1.1 fixpack, all the users I added to the security roles of the different apps were gone after the update 🙁

But instead of adding them again manually through the Admin console I searched for a better solution and found an old blog entry from Marco Ensing:

http://www.ibmconnections.org/wordpress/index.php/2010/04/mapping-groups-to-a-role-in-lotus-connections/

This was the basis for this little jython script, which you can use to recreate your settings:

 ConfigureConnectionsRoles.py

Just download it & open it with a text editor. It’s rather self-explaining, add your users and change roles where needed.

Finally run the script via wsadmin tool:

wsadmin.bat -lang jython -port 8879 -username wasadmin -pw YOURPW -f ConfigureConnectionsRoles.py

Have fun!

 

Comments

Stuart McIntyre
Reply

I was asking if anyone had done this just last month. Thank you so much Klaus, great work…

Klaus Bild
Reply

Glad to have been of help.

Marco Ensing
Reply

Klaus thanks for putting this script together! Did you experience any troubles with the settings as used in the script? Per default the role everyone is mapped to everyone but after running the script it is mapped to the special subject “All Authenticated in Application’s Realm”.

Klaus Bild
Reply

Hi Marco,
yes, you are right. The file has been corrected, I changed
[“everyone” No Yes “” “”]
in the script to
[“everyone” Yes No “” “”].
Now the Role everyone is mapped to “Everyone” again.

Leave a Reply

%d bloggers like this: