cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IdentityIQ returns HTTP error 405 when editing roles

IdentityIQ returns HTTP error 405 when editing roles

Symptoms

In IdentityIQ 8.0p1, when trying to update a role, IdentityIQ hangs and returns HTTP Error 405 (Method Not Allowed).

 

Diagnosis

This issue is known to happen when editing a role's requirements or inheritance. The error is a result of a circular reference. Circular references happen when there is a conflict in required/inherited roles. In the below example, Role B inherits Role A. Attempting to edit Role A to require Role B would induce a circular reference will fail on save.

circular_reference.png

 

In the above image, IT Role B inherits Business Role A. Editing IT Role B to list Business Role A as a requirement will result in an error. The same error may occur regardless of which relationship is defined first.

 

Solution

The error occurs because the logical structure of the role is impossible and unsupported. Avoid this error by ensuring your role structure follows best practices. The Error 405 returned does not accurately reflect the source of error. The unhelpful error message is a known issue, IIQETN-8770.

Labels (1)
Comments

Just in case it helps anybody else...

You also get the 405 error even on viewing a role if you have a custom role attribute of type Rule or Identity and the ID stored there does not resolve. We ran into this when a bunch of rules were migrated to another system where the Rule in question had a different ID.

 

Even without required inheritance same issue of 405 . the only workaround was remove it roles and make changes or do it from from debug page .

Version history
Revision #:
2 of 2
Last update:
‎Jul 25, 2023 06:45 PM
Updated by: