From 91dc4f1d039dedab1bbfc0b3b76bdc8a054a9895 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 7 Dec 2013 10:16:21 -0600 Subject: [PATCH] fixed issue 1806:auth.wiki does not create permissions correctly, thanks Florian --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f7d25eb0..5f6efe32 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.8.2-stable+timestamp.2013.12.06.20.14.05 +Version 2.8.2-stable+timestamp.2013.12.07.10.15.16 diff --git a/gluon/tools.py b/gluon/tools.py index d4fa20f8..f802d21f 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -5395,7 +5395,7 @@ class Wiki(object): if (auth.user and check_credentials(current.request, gae_login=False) and not 'wiki_editor' in auth.user_groups.values() and - self.settings.groups is None): + self.settings.groups == auth.user_groups.values()): group = db.auth_group(role='wiki_editor') gid = group.id if group else db.auth_group.insert( role='wiki_editor')