bug tracker
Thomas Arendsen Hein
thomas at intevation.de
Thu Dec 31 15:05:25 UTC 2009
* Johan Samyn <johan.samyn at gmail.com> [20091231 15:56]:
> 2009/12/31 Stefano Tortarolo <stefano.tortarolo at gmail.com>:
> > Yes, I never meant it was your fault... :D
> > Anyway, I hope you've found a solution.
> > Cheers,
> > Stefano
> >
> I know now you never did, Stefano.
> And I found an earlier registration by somebody else, on the bitbucket
> page for the extension he bug was in.
> So I'll try registering with the Mercurial BTS again some time later.
> Have a pleasant end of year, you all !
Maybe the installation was upgraded to roundup 1.4.11 without
applying the following change to the tracker instance (mentioned in
doc/upgrading.txt):
Grant the "Register" permission to the Anonymous role
-----------------------------------------------------
A separate "Register" permission has been introduced to allow
anonymous users to register. This means you will need to add the
following to your tracker's ``schema.py`` to add the permission and
assign it to the Anonymous role (replacing any previously assigned
"Create user" permission for the Anonymous role):
+db.security.addPermission(name='Register', klass='user',
+ description='User is allowed to register new user')
# Assign the appropriate permissions to the anonymous user's Anonymous
# Role. Choices here are:
# - Allow anonymous users to register
-db.security.addPermissionToRole('Anonymous', 'Create', 'user')
+db.security.addPermissionToRole('Anonymous', 'Register', 'user')
The lines marked "+" should be added and lines marked "-" should be
deleted (minus the "+"/"-" signs).
Regards,
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list