Show Community Create Button only to users with role "community-creator"

Created:
Last Update:

Author: Christoph Stoettner
Read in about 2 min · 273 words

closet

Photo by cottonbro | Pexels

Since the update to the new HCL Connections Community Card-Based Overview (Connections 6.0 CR4) I search for a way to hide the button “Create Community” from users without the role “Community-Creator”. This was always possible in the earlier versions of Connections, but the button was shown always since the update.

During the year I mostly forgot about it, but yesterday I opened a case with HCL Connections Support and got immediatly following answer:

There is a new gatekeeper flag, CATALOG_CARD_UPDATED, which was introduced in IC6.0CR5 to help enhance the community card based view. This will need to be set to false to address this issue. You can perform the below steps to address this.

(1) Login to the below Connections url as the user mapped to the admin role for the Common application.

You can check the user mapped to this role from WAS console, Apps > Common > Security role to user/group mapping > admin

https://<your_connections_server>/connections/config/highway.main.gatekeeper.tiles[]

(2) Locate the CATALOG_CARD_UPDATED setting and change it from true to false.

(3) Save the setting

(4) Restart the Communities application

To make it short, this works perfectly as described. Now the button is not visible for users without the community-creator role.

HCL is planning a technote on this, I will update the post and add the url when it is available. Thanks to HCL for the fast solution and that I’m allowed to publish it already.

Update from 2021-11-18

Please check Hiding the Create Community button 2nd for the latest updates on the usage of CATALOG_CARD_UPDATED.

Author
Add a comment
Error
There was an error sending your comment, please try again.
Thank you!
Your comment has been submitted and will be published once it has been approved.

Your email address will not be published. Required fields are marked with *

Suggested Reading
Card image cap

Today I got the question of how to disable the highlights app in Connections 7. When you follow the documentation for Connections 6.0CR6 you get an error message (and the document is not available in Connections 7).

I commented out the widget definition in widgets-config.xml like described in the documentation for the former release.

Created: Read in about 2 min
Card image cap

Some time ago I got the tip from HCL Support, that the Create Community button will recognize the role community-creator only when the gatekeeper option CATALOG_CARD_UPDATED is set to false.

This is working, but I had to complain, that this option activates some code, which loads fonts from a CDN instead of the local Connections deployment.

Created:
Last Update:
Read in about 2 min
Aaron Burden: Fountain pen and a notebook
Today i thought about creating and deleting some Communities with the REST API. Works really good and i need to post my findings sometimes. First cool thing is that you can create restricted Communities with external feature through REST. After deleting these Communities i checked the Community overview through my browser and found following view: So you mustn’t use wsadmin to restore Communities from trash, you can use this view. Never heared of it and the documentation still mentions wsadmin as the only way to restore them.
Created:
Last Update:
Read in about 1 min