fixed issue 1806:auth.wiki does not create permissions correctly, thanks Florian
This commit is contained in:
2
VERSION
2
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
|
||||
|
||||
@@ -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