I found this old thread http://tinyurl.com/p9r59rg about automatic role
assignement and applied a version of the code Steven wrote, it works

Now, I want this role to not need any approve when assigned this way but
it needs to be approved if someone manually requests it.
Is this possible? or do I need to create two roles, one for the
automatic flow and one for manuall assignment. In that case I can set a
rights filter on the automatic role so no one exept uaadmin can find

Thanks for any thoughts on this topic

joakim_ganse's Profile: https://forums.netiq.com/member.php?userid=159
View this thread: https://forums.netiq.com/showthread.php?t=52979