[#1541] Subproject permission fixes

This commit:

  • fixes the admin menu so tool permissions admin is displayed when the user has
    project security permission, not tool configure permission (otherwise you can
    get into problems where no one can access the tool, and no one can admin perms
    for it either)
  • fixes some queries so that we look for roles in the root project of a
    hierarchy instead of a subproject (was causing breakages when trying to add
    groups to subproject permissions)
  • fixes the redirect on permission admin to stay on the permission screen

Signed-off-by: Rick Copeland rcopeland@geek.net

Rick Copeland Rick Copeland 2011-02-22

changed Allura/allura/ext/admin/admin_main.py
changed Allura/allura/app.py
Allura/allura/ext/admin/admin_main.py Diff Switch to side-by-side view
Loading...
Allura/allura/app.py Diff Switch to side-by-side view
Loading...