Opaque error if registrant has no access to create Git repository

Bug #1846315 reported by Colin Watson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

If _BaseGitNamespace.createRepository finds that self.getDefaultInformationType(registrant) returns None, which happens if the registrant doesn't have full access to the necessary information type in the project in which they're trying to create the repository, then it raises GitRepositoryCreationForbidden() with no detailed error message. We should include an actual error message here, because otherwise it's completely opaque what's going on.

Tags: git lp-code
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.