Merge ~ilasc/launchpad:change-permissions-builder-reset into launchpad:master
Proposed by
Ioana Lasc
Status: | Merged |
---|---|
Approved by: | Ioana Lasc |
Approved revision: | 583fff76fb66f86a2d90d9b75b9a638fdbeaad9b |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ilasc/launchpad:change-permissions-builder-reset |
Merge into: | launchpad:master |
Diff against target: |
181 lines (+69/-19) 4 files modified
lib/lp/buildmaster/configure.zcml (+5/-1) lib/lp/buildmaster/interfaces/builder.py (+18/-14) lib/lp/buildmaster/tests/test_webservice.py (+37/-4) lib/lp/security.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+393716@code.launchpad.net |
Commit message
Change permissions required to reset builders
Description of the change
This branch changes permissions required to reset builders to:
~admins and ~launchpad-
~registry team members (registry experts) can edit only 3 attributes on builder: builderok, manual and failnotes
These will be exposed in browser via the "Change details" link on the Edit Builder view.
The branch also introduces unit test for the builder view (they're currently doctests).
To post a comment you must log in.
Hit enter too fast on above comment.
The branch is work in progress at this point, open for visibility and direction review only.
I'm working backwards: first granting access to the set of 3 attributes on the Edit view to the 3 teams (~admins, ~launchpad- buildd- aminds, ~registry).
The next step would be to expose the full set of attributes but only for 2 teams: ~admins and ~launchpad- buildd- admins.