[#49997011] Fixed Rights Bug
- Added extra if to check the role