Check access to a catalog item for a specific user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2016 01:55 AM
For checking the availability of a catalogue item for the currently logged in user, you can use the GlideappCatalogItem package and the canView() function. Does anyone know if the package has a means to check permissions for a specific user, instead of the currently logged in user?
- 3,948 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2016 07:07 AM
Hey Ian:
Navigate to Service Catalog >> Maintain items, select your catalog item. In the realted sections, you will see 'Available For' and 'Not Available For'.
Then, you can make the catalog item available or not available as the case may be, to either individual users or groups.
Hope this is helpful.
P.S. Hit it helpful and correct depending on the impact.
Cheers!Danny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2016 08:23 AM
It isn't setting up the permissions I'm after, it's checking that the user can access the item (checking the permissions that have already been set up).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2016 07:11 AM
Ian,
Have you tried impersonating the user instead? I think that would be a little easier in my opinion.
Regards,
Derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2016 08:25 AM
Hi Derek, unfortunately impersonating the user is not what is wanted. The goal is to produce a "refer to catalogue" function for Service Desk staff to direct a user to the service catalogue from an incident / call.