~ursinha/launchpad/add-all-fl-tests

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/zcml/hwdb.zcml

  • Committer: Launchpad Patch Queue Manager
  • Date: 2009-08-20 12:36:07 UTC
  • mfrom: (9094.2.2 hwdb-device-class-api)
  • Revision ID: launchpad@pqm.canonical.com-20090820123607-w7k7ahwkclxlonh8
[r=cprov][ui=none] allow arbitrary int values for
        HWDeviceClass.main_class and HWDeviceClass.sub_class;
        expose HWDeviceClass to the webservice

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
    </securedutility>
226
226
 
227
227
    <class class="canonical.launchpad.database.HWDeviceClass">
228
 
        <allow
 
228
        <require permission="launchpad.View"
229
229
            interface="canonical.launchpad.interfaces.IHWDeviceClass" />
230
 
        <allow attributes="id" />
231
230
    </class>
232
231
 
 
232
    <browser:url
 
233
        for="canonical.launchpad.interfaces.IHWDeviceClass"
 
234
        path_expression="string:+deviceclass/${id}"
 
235
        parent_utility="canonical.launchpad.interfaces.IHWDBApplication"
 
236
        />
 
237
 
233
238
    <securedutility
234
239
        class="canonical.launchpad.database.hwdb.HWDeviceClassSet"
235
240
        provides="canonical.launchpad.interfaces.IHWDeviceClassSet">