'Add permission-ViewMenu object to Role
:param role:
The role object
:param perm_view:
The PermissionViewMenu object'

def add_permission_role(self, role, perm_view):

    if (perm_view not in role.permissions):
        try:
            role.permissions.append(perm_view)
            role.save()
            log.info(c.LOGMSG_INF_SEC_ADD_PERMROLE.format(str(perm_view), role.name))
        except Exception as e:
            log.error(c.LOGMSG_ERR_SEC_ADD_PERMROLE.format(str(e)))
