- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2013 02:24 PM
Hi all
I have added three fields to KB, Service Catalog and Catalog Items
u_global_view True / False
u_show_to - string 1000
u_hide_from - string 1000
If global view is true, use and make the "u_hide_from" visible
If global view is not trie, use and make the "u_show_to" visible
the strings contain part of a DN, sperated by semi colon
On KB, I have added a script to the ACL and simply it takes the contents of the "u_show_to" or "u_hide_from", makes an array and checks the users dn entry. If there is a match, then either show or hide depending on what we want and stop.
All works great
I thought adding this to the Service Catalog and a Category Item so we could easily hide them would be a case of adding the same script to the relevant ACL. Firstly, seems I am wrong and I cannot find the ACL that controls whether a record is visible or not. Anyone got any ideas on what ACL's these are, or what one I need to create. I did create one earliy
table - sc_cat_item
condition - none
script - gs.log('Jules ACL test');
roles - either blank or public. no difference either way
I went and looked and was able to access the category items
however and annoyingly, nothing in the logs 😞
Further on, I started to look at entitlement scripts. I can modify the routine I have to work here (after i found out that most records do not work in the entitlement script) so all is not lost, however, is there somewhere where I can place this entitlement script so that any new Catalog Item automatically has this script added ?
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2014 08:25 AM
Hi, attached are 3 documents
service catalog items - restricted view is an overview of how it works and what to add in the show to / hide from boxes
servicecataloginclude.txt - is the script include
service catalog items - set entitlement is the client script that is used when you choose restricted view and automatically creates the entitlement script
The following are the fields I have added to the catlog items
Hope it helps as I know this is a little rough and ready
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2014 08:25 AM
Hi, attached are 3 documents
service catalog items - restricted view is an overview of how it works and what to add in the show to / hide from boxes
servicecataloginclude.txt - is the script include
service catalog items - set entitlement is the client script that is used when you choose restricted view and automatically creates the entitlement script
The following are the fields I have added to the catlog items
Hope it helps as I know this is a little rough and ready
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2014 04:10 AM
Thank you so much for providing this information - works a treat!
Katie