← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~stevenk/launchpad/register-dsp-vocab into lp:launchpad

 

Steve Kowalik has proposed merging lp:~stevenk/launchpad/register-dsp-vocab into lp:launchpad.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~stevenk/launchpad/register-dsp-vocab/+merge/67488

In preparation of the work pulling in the DSP vocab, actually register it so it can *cough* be used.
-- 
https://code.launchpad.net/~stevenk/launchpad/register-dsp-vocab/+merge/67488
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/register-dsp-vocab into lp:launchpad.
=== modified file 'lib/lp/registry/vocabularies.zcml'
--- lib/lp/registry/vocabularies.zcml	2011-07-08 15:01:37 +0000
+++ lib/lp/registry/vocabularies.zcml	2011-07-11 04:19:54 +0000
@@ -439,4 +439,16 @@
     <allow interface="canonical.launchpad.webapp.vocabulary.ICountableIterator"/>
   </class>
 
+  <securedutility
+    name="DistributionSourcePackage"
+    component="lp.registry.vocabularies.DistributionSourcePackageVocabulary"
+    provides="zope.schema.interfaces.IVocabularyFactory"
+    >
+    <allow interface="zope.schema.interfaces.IVocabularyFactory"/>
+  </securedutility>
+
+  <class class="lp.registry.vocabularies.DistributionSourcePackageVocabulary">
+    <allow interface="canonical.launchpad.webapp.vocabulary.IHugeVocabulary"/>
+  </class>
+
 </configure>