
peter_osang asked a question.
I have a requirement from customer to be able to exclude the members of an AD group from requesting a specific catalog item. I have been able to meet this requirement by adding an exclude visibility condition for that group to the catalog item. However, this condition does not prevent another person from requesting that catalog item on behalf of an excluded user.
Do any of you have any ideas on how to work around this apparent loophole?
Who's doing the ROB in the loophole scenario? The scenario doesn't really make sense to me, but then I don't really know the criteria for who's in the group and who would want to request on their behalf that isn't also in the group.
Anyway, one other option would be to put a PowerShell script on the On Submit event that checks to see if the target user is in the AD group and then automatically calls the CancelRequest API. Not the best user experience, but easy to implement and gets the job done.