Hi Lorin,

On 02/apr/2012, at 20:50, Lorin Hochstein wrote:

> In our setup, we changed the alias of "Requirement" to "Project", but 
> otherwise didn't change the ticket type. Once we changed this alias, we were 
> no longer able to create new Project tickets, we would get this error:
> 
> Warning: No permission to create or edit a project.
> 
> I tracked this error message down to this method in agilo/ticket/web_ui.py 
> (line 530)
> 
> 
>     def validate_ticket(self, req, ticket):
>         if not ticket.exists:
>             typename = ticket.get_type()
>             permission_name = 'CREATE_%s' % typename.upper()
>             permission_name = getattr(Action, permission_name, 
> permission_name)
>             if permission_name not in req.perm(ticket.resource):
>                 msg = _("No permission to create or edit a %s.")  % typename
>                 return [(None, msg)]
> 
> 
> Apparently, it was returning "project" for typename. I thought that it would 
> have returned the field shown as "Type" on the Manage Types page (which was 
> still "requirement"), rather than "project", which was just defined as the 
> alias.
> 
> We're running Agilo (open source) 0.9.7.
> 


Renaming is definitely an area that needs improvement. We are aware of this 
kind of issue and have plans to fix it.
Thanks for pointing it out.

Cheers


Stefano Rago

-- 
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on: 
http://userstories.com/products/8-agilo-for-scrum 
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo

Reply via email to