[#5240] ticket:213 security functions optimization

  • query ProjectRoles using pymongo instead of Ming ODM inside Credentials and RoleCache
  • fix stuff that are using Credentials and RoleCache
  • new logic for cache invalidation after project creation

Igor Bondarenko Igor Bondarenko 2012-11-22

Tim Van Steenburgh Tim Van Steenburgh 2012-12-05

changed Allura/allura/lib/app_globals.py
changed Allura/allura/lib/plugin.py
changed Allura/allura/lib/security.py
changed Allura/allura/model/project.py
changed Allura/allura/tests/model/test_auth.py
changed ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
Allura/allura/lib/app_globals.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/plugin.py Diff Switch to side-by-side view
Loading...
Allura/allura/lib/security.py Diff Switch to side-by-side view
Loading...
Allura/allura/model/project.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/model/test_auth.py Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/tests/unit/test_ticket_model.py Diff Switch to side-by-side view
Loading...