incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <>
Subject [allura:tickets] #6714 Rename & move User.project_role()
Date Wed, 23 Oct 2013 22:22:00 GMT


** [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:** Wed Oct 23, 2013 08:54 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 because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message