def disable_permission_auditing(session, permission_name, actor_user_id):
    permission = Permission.get(session, permission_name)
    if not permission:
        raise NoSuchPermission(name=permission_name)

    permission._audited = False

    AuditLog.log(session, actor_user_id, 'disable_auditing', 'Disabled auditing.',
            on_permission_id=permission.id)

    Counter.incr(session, "updates")

    session.commit()
Set a permission as audited.
dataset/ETHPy150Open dropbox/grouper/grouper/permissions.py/disable_permission_auditing