Split IBranch into separate interfaces based on required permissions

Bug #399547 reported by Jonathan Lange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Tim Penhey

Bug Description

Currently there's one big IBranch interface and we decide which methods & attributes require which permissions using the ZCML file.

This is awkward, and leads to unexpected errors when we forget to update the ZCML. Instead, let's just have interfaces like IBranchEdit, IBranchView or what have you, and define the permissions in terms of those.

Related branches

Tim Penhey (thumper)
Changed in launchpad-code:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-code:
milestone: none → 10.08
tags: added: qa-needstesting
Changed in launchpad-code:
status: In Progress → Fix Committed
Paul Hummer (rockstar)
tags: added: qa-untestable
removed: qa-needstesting
Changed in launchpad-code:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.