def del_permission(self, name):
perm = self.find_permission(name)<EOL>if perm:<EOL><INDENT>try:<EOL><INDENT>perm.delete()<EOL><DEDENT>except Exception as e:<EOL><INDENT>log.error(c.LOGMSG_ERR_SEC_DEL_PERMISSION.format(str(e)))<EOL><DEDENT><DEDENT>
Deletes a permission from the backend, model permission

:param name:
    name of the permission: 'can_add','can_edit' etc...