[ckan-changes] [okfn/webstore] bc2561: Add support for read-only SQL queries.

noreply at github.com noreply at github.com
Tue Aug 23 19:22:27 UTC 2011


  Branch: refs/heads/master
  Home:   https://github.com/okfn/webstore

  Commit: bc25610bea35876614bdadba56f563c6f0aae3ce
      https://github.com/okfn/webstore/commit/bc25610bea35876614bdadba56f563c6f0aae3ce
  Author: Friedrich Lindenberg <friedrich at pudo.org>
  Date:   2011-08-23 (Tue, 23 Aug 2011)

  Changed paths:
    M doc/index.rst
  M webstore/database.py
  M webstore/views.py

  Log Message:
  -----------
  Add support for read-only SQL queries.

This was made possible thanks to Julian Todd, who pointed me at the
possibility to register a callback function in the SQLite driver
that will check for each operation if it is valid, given the user's
rights.






More information about the ckan-changes mailing list