#1232 Move ProjectRole into global database - REQUIRES SCRIPT

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2010-12-15
No

The ProjectRole collection, sharded in the project databases as it is now, isn't useful for determining which projects a particular user has access to. Create a migration and/or a script to move ProjectRole into a unified collection in the main database.

This will also involve removing the 'projects' property and my_projects method on User projects, as these have been broken for a long time. my_projects() may be rewritten as a query on the (unified) ProjectRole collection.

Discussion

  • Rick Copeland - 2010-12-15

    description has changed

     
  • Rick Copeland - 2010-12-16
    • custom_field__milestone: backlog --> dec-20
     
  • Rick Copeland - 2010-12-16
    • status: open --> in-progress
    • assigned_to: Rick Copéland
     
  • Rick Copeland - 2010-12-16
    • custom_field__size: --> 1
     
  • Rick Copeland - 2010-12-16

    script is

    allurapaste script /var/local/config/production.ini ../scripts/migrate_project_roles.py
    
    • summary: Move ProjectRole into global database --> Move ProjectRole into global database - REQUIRES SCRIPT
    • status: in-progress --> closed
     

Log in to post a comment.