- Once the user has left the organization, he/she should not have any access to jenkins.
- We don't use Jenkins Internal database.
- Users are authenticated against LDAP.
- Found a groovy script which will delete the user from Jenkins. But that doesn't work for LDAP integrated users and Role-based strategy.
- Also I found groovy script to add role and permissions but not to remove them.
- Please help me in un-checking the roles for a particular user.