bug #3370: Fix error message for role actions in pending state