'Deletes a permission from the backend, model permission
:param name:
name of the permission: \'can_add\',\'can_edit\' etc...'

def del_permission(self, name):

    perm = self.find_permission(name)
    if perm:
        try:
            self.get_session.delete(perm)
            self.get_session.commit()
        except Exception as e:
            log.error(c.LOGMSG_ERR_SEC_DEL_PERMISSION.format(str(e)))
            self.get_session.rollback()
