Skip to main content
Solved

Block Account based on Company Attribute


Hi friends,

 

I’m sure that I can accomplish this using Data Permissions, but having a little bit of difficulty doing so. I have an attribute in Company for which if it is set to a certain value, I want to essentially block that account from view (automatically excluded from reports, dashboards, etc.)

Any help appreciated. Thanks!

Best answer by kstim

@jschwegler First you will need to create some Sharing Groups (Data Permissions > Sharing Groups). They allow you to define and add specific groups of users who can gain access to client accounts. 

Once you have Sharing Groups created, you’ll want to build a rule that keys off of your custom permission field you’re referring to from the company object. The rule would ideally pull in the required data and load to your custom field depending on the necessary criteria.  

Then, you’d build out sharing rules (Data Permissions > Company > Rule based) that will dynamically assign access to specific accounts based on your Sharing Groups and your custom permission field.

For example, if I have a Sharing Group created for all clients in the “Commercial” segment, and our custom permission field is “Commercial”, the rule would say: Users meeting the following criteria “User Group in “Commercial” get access to the records where [custom permission field] in Commercial.

I hope that makes sense and helps a little!

View original
Did you find this topic helpful?

7 replies

dayn.johnson
Forum|alt.badge.img+6
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 636 replies
  • January 27, 2025

Pretty sure Global Filters (at least on dashboards) will solve that issue for you. Unfortunately that field would need to be added for each individual report if it was viewed outside of that dashboard, from my understanding. ​@kstim, does that track?


christopher_sanderson
Forum|alt.badge.img+3

I have set up rules, both under Rules and Team administration. Nothing stops another user from searching or opening a C360 for a client they shouldn’t be able to.

Global Filters will only stop if from showing on a report/dashboard; they will still be able to search and access the Customer record.

I am opening a support ticket to see if someone can help here. The use case follows the Support documentation, but the feature doesn’t seem to be respdonding.

https://support.gainsight.com/gainsight_nxt/01Onboarding_and_Implementation/Onboarding_for_Gainsight_NXT/Login_and_Permissions/Teams#Company_Data_Permissions

 


kstim
Forum|alt.badge.img+6
  • Helper ⭐️⭐️
  • 239 replies
  • January 27, 2025

@jschwegler We use Data Permissions and user groups to accomplish this. Basically, we have a rule that loads a value to accounts depending on our lockdown criteria and then that field is being used in the data permission and user groups to only allow certain individuals to view certain accounts. This means that those who aren’t added to the user group can’t even search for the account in the search bar, let alone see any information on that account.


christopher_sanderson
Forum|alt.badge.img+3

Thanks for the confirm @kstim! I am opening a ticket to see why my configuration isn’t working.


  • Author
  • Contributor ⭐️⭐️
  • 5 replies
  • January 27, 2025

Thanks! This is actually exactly what I am after ​@kstim, I already have a field value at Company that I want to key off of, I’m just having some difficultly on how to define that inside of Data Permissons.


kstim
Forum|alt.badge.img+6
  • Helper ⭐️⭐️
  • 239 replies
  • Answer
  • January 27, 2025

@jschwegler First you will need to create some Sharing Groups (Data Permissions > Sharing Groups). They allow you to define and add specific groups of users who can gain access to client accounts. 

Once you have Sharing Groups created, you’ll want to build a rule that keys off of your custom permission field you’re referring to from the company object. The rule would ideally pull in the required data and load to your custom field depending on the necessary criteria.  

Then, you’d build out sharing rules (Data Permissions > Company > Rule based) that will dynamically assign access to specific accounts based on your Sharing Groups and your custom permission field.

For example, if I have a Sharing Group created for all clients in the “Commercial” segment, and our custom permission field is “Commercial”, the rule would say: Users meeting the following criteria “User Group in “Commercial” get access to the records where [custom permission field] in Commercial.

I hope that makes sense and helps a little!


  • Author
  • Contributor ⭐️⭐️
  • 5 replies
  • January 30, 2025

Thank you for the extra information!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings