fixed issue 1806:auth.wiki does not create permissions correctly, thanks Florian
This commit is contained in:
1 parent
4b124cc214
commit
91dc4f1d03
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
+1
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user