This site is an archive; learn more about 8 years of OpenHatch.

[Devel] Bug tracker is failing on basic actions

Asheesh Laroia asheesh at asheesh.org
Sun Dec 19 03:37:52 UTC 2010


On Sat, 18 Dec 2010, Jessica McKellar wrote:

> Hi Asheesh,
>
> I can create new tickets from my existing account now. I still can't 
> create new accounts; after filling out the registration form I'm 
> redirected to https://openhatch.org/bugs/user with the message "You do 
> not have permission to register the user class", and I don't receive a 
> sign-up e-mail.

Good to know...

/me Googles

/me finds 
http://old.nabble.com/New-users-can%27t-register-after-upgrade-td25614581.html

I made this change to the schema:

diff --git a/schema.py b/schema.py
index f9fcebb..4fac70c 100644
--- a/schema.py
+++ b/schema.py
@@ -157,7 +157,7 @@ db.security.addPermissionToRole('Anonymous', 'Web 
Access')
  # 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')

  # Allow anonymous users access to view issues (and the related, linked
  # information)

And then, er, I broke the bug tracker entirely. Looking into it...


More information about the Devel mailing list