Bill Collins: HOW TO: Modify the "List Mechanic" UI Macro to control access by role or group

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2010 05:12 PM
I have used the following to control access (by role or group) to the "List Mechanic" UI Macro a.k.a., List Personalization, the cog, or the gear. This is not the same as list editing. You will need to test. Use at you own risk. NOTE: Access by role only can be accomplished OOB on the System Properties>IU Properties page. My group name here is "CeM"
<?xml version="1.0" encoding="utf-8"?>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2010 08:03 AM
Hi Bill,
FYI
I have just implemented something very similar (before finding this) and found that within the evaluation you can use gs.hasRole('itil'), rather than gs.getUser().hasRole('itil')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2010 10:41 AM
Thank you thomaj3. I don't remember why we did that. I am always in favor of making it more simple. -Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2017 09:56 PM
Hi Bill, apologies for reopening a 7 year old thread. But wanted to see your UI Macro above as it isn't visible...
Cheers