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

Bill_Collins
Mega Guru

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"?>















3 REPLIES 3

thomaj3
Kilo Contributor

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')


Thank you thomaj3. I don't remember why we did that. I am always in favor of making it more simple. -Bill


Hi Bill, apologies for reopening a 7 year old thread. But wanted to see your UI Macro above as it isn't visible...



Cheers