Making a Catalog variable only visible to a certain group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 01:41 AM
I am looking for help with a solution to a requirement. I need to make a catalog variable only visible to members of a specific group due to it containing sensitive data. The client does not want me creating new roles (I originally achieved this by using the permissions section on variable tabs and creating a new role for that group).
Any help with a solution and or script (if that is the solution) would be appreciated thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 06:04 AM - edited ‎07-02-2024 06:05 AM
You will need a client script with a GlideAjax to check if the user is in the group or not, and then hide the variable if not. Here is a link to an example that should help you. You'll need to tweak it slightly to hide the variable rather than show a message.