How can we delete a role which is linked to an LDAP group?
Issue
-
I am logged in as "rhqadmin" and when deleting an LDAP role I'm getting the following error: You do not have permission to remove selected role(s). The following is logged in rhq-server-log4j.log file:
... WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 2292, SQLState: 23000 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 2292, SQLState: 23000 ERROR [org.hibernate.util.JDBCExceptionReporter] ORA-02292: integrity constraint (JONDBUSR.SYS_C0013011) violated - child record found ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update ...
Environment
JBoss Operations Network (JON) 2.4.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.