Merge branch 'hotfix/#6003-docblock-typo'

Close #6003
Rbac::getRole() : check object->getName()
Rbac::getRole() : check if required role is an object before loop.
Merge pull request #5973
Merge pull request #5973 in develop