just noticed different behavior on different versions.
On 15.0 error 11166 is raised when trying to revoke sso_role from yourself
User 'testlg' is currently logged in. The revocation of roles from users that are currently logged in is not allowed.
On 15.7 the revoke works fine.
Message 11166 still exists on 15.7, not sure what would be expected behaviour