You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Tim Van Steenburgh <va...@users.sf.net> on 2013/11/01 22:27:46 UTC

[allura:tickets] #6714 Rename & move User.project_role()

This is gtg but would like to hold for a separate push.


---

** [tickets:#6714] Rename & move User.project_role() **

**Status:** code-review
**Labels:** cleanup 
**Created:** Fri Sep 27, 2013 07:29 PM UTC by Dave Brondsema
**Last Updated:** Thu Oct 31, 2013 09:57 PM UTC
**Owner:** Cory Johns

The User.project_role method creates roles, which may not be what you want (and may cause a large number of roles to be added to mongo).  Rename it to something that makes its "upsert" functionality clear.

Also move it to the ProjectRole class, as that is more closely related to its functionality.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.