======Sun IDM: Admin roles====== Remember what the IDM documentation say : //Do not confuse roles with admin-roles. Roles are used to manage end-users’ access to external resources, whereas admin-roles are primarily used to manage Identity Manager administrator access to Identity Manager objects.// Admin roles can be assigned dynamically by a rule. However, regarding which capabilities you assin, you probably change the system configuration to enable check at login. Otherwise, if you assign a role with a capability like //View User// and if the user doesn't have admin cap (assigned in a static way) the user won't be able to access to the admin interface. ===Enable checkDynamicallyAssignedAdminRolesAtLoginTo=== Hit /idm/debug/, select //Configuration// and click //List Objects//. Click on the //edit// button for //System Configuration// and modify the XML to have something like: true false true and click on the //save// button. ===Rule example to assign a role=== This is a very simple rule that return true if the user match the string //bbonfils//. Identity session context (e.g. Lighthouse context) The User view of the user the rule will run as. runAsUser runAsUser.waveset.accountIdbbonfils false true false