Added an exception for role duplication (same role for same identity and same resource)
Improved code quality
Bug correction with class resources roles and authorizations rebuild