diff --git a/VERSION b/VERSION index cf80eb5e..0dedc94e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-08-01 23:49:50) dev +Version 2.00.0 (2012-08-02 00:02:42) dev diff --git a/gluon/tools.py b/gluon/tools.py index 5d6f2522..2c5e0218 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4550,7 +4550,7 @@ class Wiki(object): if not self.can_edit(page): return self.not_authorized(page) title_guess = ' '.join(c.capitalize() for c in slug.split('-')) if not page: - if not slug.startswith(self.force_prefix): + if not (self.can_manage() or slug.startswith(self.force_prefix)): current.session.flash='slug must have "%s" prefix' \ % self.force_prefix redirect(URL(args=('_edit',self.force_prefix+slug)))