Need to make List on workspace restricted to certain roles

Nivetha23jay
Tera Contributor

Hey everyone,

The List on workspace should be made visible for certain roles and for other roles it should not be visible..i followed few Options that was mentioned in the community 

 

Options 1:

On sys_ux_applicability I included roles, only they can able to view the list

Option 2:

On same form under user criteria inclusion and exclusive I have added roles which can read and which cannot read

 

I have tried both the options but it didn't work..can someone provide me the solution 

2 REPLIES 2

Vikram Reddy
Tera Guru

Hey @Nivetha23jay,

 

Check whether the Audience is actually linked to that List, editing roles on sys_ux_applicability by itself does nothing until the link exists. Go through this:

  • List Applicabilities (sys_ux_applicability_m2m_list) has a record tying your Audience to that exact List. This gets confused with sys_ux_applicability_m2m (Layout Applicability), which is a different mechanism and won't touch list visibility.
  • No other Audience is already linked to the same list with an open role set. Applicabilities are OR'd, so one unrestricted audience cancels your restriction out.
  • You're not editing the base system SOW ITIL Audience from your screenshot directly (it's flagged High Risk). Clone it into a custom Audience scoped to your app so an upgrade doesn't silently revert your fix.

If you're leaning on the User Criteria inclusion/exclusion fields for option 2, they only get evaluated when glide.ux.user_criteria_enabled is true and the UX Framework User Criteria plugin is active, otherwise the platform just reads the Roles field and ignores them.

References

 

Thank you,
Vikram Karety
Octigo Solutions INC

Ankur Bawiskar
Tera Patron

@Nivetha23jay 

either use roles or user criteria inclusion/exclusion

what debugging did you do?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader