I have a number of roles I need to delete. I have some questions about doing so:
Bottom line: I have no clue what happens to the roles at lower levels when the role is deleted at the community level. I hope someone can explain it to me. Thanks in advance.
Hi @kgroneman -
I recently did an audit of all of our community roles (over 400 roles across the community!) so this struggle is fresh in my mind.
I had to have one of our developers create a way to export all of the roles from every node so that I could ensure I saw both the parent and children roles.
If a role had to be deleted, it should be deleted from both the community level and any lower nodes. Otherwise, yes the role was "orphaned" and it didn't do anything.
If you delete a role at the community node and the users were granted the role at that level, then they shouldn't have any permissions from wherever else that role exists.
I hope this helps!
Wow, @lilim - that sounds like quite a project. I’d love to hear whatever new rules you have in place to help keep your roles from ballooning again (maybe in a separate thread so I don’t completely hijack this one :)).
Hi @kgroneman
If a role had to be deleted at the community level, it won't impact to the category/board/idea exchange level if it is a copy of these level role.
If a role had to be deleted at the community level, it will impact to the users at the community level if it had created at community level. if that deleted role had assigned to particular users,they shouldn't get any permissions.
Here the main thing is for roles the highest priority is to be category/board/idea exchange level only. If we deleted the role at category/board/idea exchange level, then it is going to be impact to the users whoever added for that particular role.
yes,If you delete a role at the community level, you have to hunt around the entire community to see /handle that role at the category/board/idea exchange level
Found this helpful? Please give "Kudos" and "Accept it as a Solution."
Thanks & Regards,
Raj Borra.
@CarolineS wrote:Wow, @lilim - that sounds like quite a project. I’d love to hear whatever new rules you have in place to help keep your roles from ballooning again (maybe in a separate thread so I don’t completely hijack this one :)).
Our community is 14 years old, so many of the roles were just leftover from years gone by. Now that the list has been audited, I've put policies in place to ensure we're only creating roles when necessary. We also utilize user groups very heavily now, so that definitely helps cut down on the user roles.
Thanks for the input everyone. Unbelievable. There are 107 roles defined on our site, most of which nobody in our organization has any idea of what they do or why we have them. I just took over management of our site a couple of months ago. I manage many community platforms: Lithium, Telligent, vBulletin. The Lithium method of managing roles, having to manage the same role at multiple levels separately is, by far, the most silly, and the most ornerous way of managing roles I've come across, and, in fact, it's alot less flexible than the other systems. The fact you can't manage/see a role at different levels at the same time is bad. Off to spend time I shouldn't have to spend hunting down "child" role instances for 107 roles! @lilim you wouldn't want to share your method of exporting roles would you? I assume it's an api query. I'd be forever in your debt. - Kim
@kgroneman wrote:@lilim you wouldn't want to share your method of exporting roles would you? I assume it's an api query. I'd be forever in your debt. - Kim
Our developer built the tool in Oracle APEX, so unfortunately I don't have visibility into the code. It was built using the Lithium API though.
Thanks. I could open a support case I guess and see if Lithium can tell me a query that would do it.
Here's the documentation on querying roles for a particular node:
You would have to do this for each node in your community though.
@lilim thanks for that link. There is a query there to find the nodes where a role resides. Do you know how to find the ID of a role? All of those queries are based on role ID instead of name but I don't know where to find the ID for a role. 😕
Nevermind. I played around with the query and found it. Here's the query to find the ID for CategoryExpert using our community name:
https://community.softwaregrp.com/restapi/vc/roles/name/CategoryExpert
Before our developer created the report in APEX, I had no idea that roles even had IDs! I don't even see it in the audit log when a role is assigned.
You're lucky. You have a developer. I'm winging it.
Hi @kgroneman,
1.If you delete the role at the community level ,the equivalent role at the category/board/idea exchange level will not be orphaned because the name can be same ,functionality might be different at category level when compared to community for that reason we are creating a role at this level.
2.If you delete the role at the community level, users assigned to that role at category/board level gets permissions and it will not be nullified the reason here is for roles the priority at category/board level will be higher than community level .So that user will not get affected with the permissions though it was deleted at community level.
3.If you delete the role at the community level ,you need to check/hunt at all categories or boards where that role was assigned.Because, the role functionality at that levels might be different so that we are assigning separately, if it is same we can add directly in community level .
Found this helpful? Please give "Kudos" and "Accept it as a Solution."
Thanks & Regards,
Sagar Tulluru
Thanks. All I can say is "Wow...that sucks" I've posted a request in IDEAS. Vote for it if you think it's a worthwhile idea.
Welcome to the Technology board!
Curious about our platform? Looking to connect on social technology? You've come to the right place!