James Valleroy
504a195708
Remove commit line from UserStore. This function was not defined in withsqlite, and also unnecessary since autocommit is on.
2013-11-02 17:34:17 +00:00
Nick Daly
4c42c1ad1f
Merge pull request #20 from petterreinholdtsen/expert-user-access
...
Fix expert user access checks.
2013-09-15 16:11:18 -07:00
Nick Daly
04a266729e
Merge pull request #22 from p1otr/master
...
use stdlib's json module if simplejson is missing
2013-09-15 16:09:58 -07:00
James Valleroy
5be8a552ab
Enable multithread for UserStore DB.
2013-09-12 23:14:07 -04:00
Petter Reinholdtsen
7ff6ea14e2
Rewrite fix for UserStore.expert() to be more like UserStoreOld.expert().
2013-09-11 20:31:12 +02:00
Petter Reinholdtsen
6effc94349
Fix expert user access checks.
...
Several places in the code, cfg.users.expert() is used as a boolean
test to see if the current user is an expert user. But this do not work.
Change the implementation of expert() to assume the current user if no
argument is given, to get the code working.
2013-09-11 20:11:56 +02:00
Piotr Ożarowski
20d4f961b6
use stdlib's json module if simplejson is missing
...
json is available in Python >= 2.6
2013-09-10 23:12:46 +02:00
Tom Galloway
c4cddbfc0e
Changes to get user management screens started. Updated UserStore to add all expected functions. Added tests for these functions.
2013-01-21 10:30:52 +00:00
James Vasile
79de884549
complete the transition to sqlite
2012-02-19 15:07:14 -05:00
James Vasile
4409f1598d
autocommit
2012-02-19 15:07:14 -05:00
James Vasile
e8464fa113
add TODO: at exit, commit db
2012-02-19 15:07:14 -05:00
James Vasile
d082538aee
move to sqlite3 + json dict storage for users
2012-02-19 15:07:13 -05:00
James Vasile
35071d7212
...
2011-02-22 13:32:45 -05:00