Permissions not working correctly for a specific role