diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2008-10-27 11:17:49 +0100 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2008-10-27 11:17:49 +0100 |
commit | 4fc860155b36d7767222ed92e640c07fd4a92019 (patch) | |
tree | dace666a31946f185e282171e0b469f9bb5358f5 /fdi | |
parent | af71a0cb2536741c8847ffdac395bd9f0b5eef83 (diff) |
added ACL/device access rules for fingerprint reader
Added ACL/device access rules for fingerprint reader.
Diffstat (limited to 'fdi')
-rw-r--r-- | fdi/policy/10osvendor/20-acl-management.fdi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fdi/policy/10osvendor/20-acl-management.fdi b/fdi/policy/10osvendor/20-acl-management.fdi index c3808072..4b0c6168 100644 --- a/fdi/policy/10osvendor/20-acl-management.fdi +++ b/fdi/policy/10osvendor/20-acl-management.fdi @@ -74,6 +74,13 @@ <merge key="access_control.type" type="string">scanner</merge> </match> </match> + <match key="info.capabilities" contains="usbraw"> + <match key="info.capabilities" sibling_contains="biometic.fingerprint_reader"> + <append key="info.capabilities" type="strlist">access_control</append> + <merge key="access_control.file" type="copy_property">usbraw.device</merge> + <merge key="access_control.type" type="string">fingerprint-reader</merge> + </match> + </match> <!-- support for Linux USB stack where linux.device_file is set (e.g. device node is on the main usb device) --> <match key="info.subsystem" string="usb"> @@ -98,6 +105,11 @@ <merge key="access_control.type" type="string">obex</merge> <merge key="access_control.file" type="copy_property">@info.parent:linux.device_file</merge> </match> + <match key="info.capabilities" contains="biometric.fingerprint_reader"> + <append key="info.capabilities" type="strlist">access_control</append> + <merge key="access_control.type" type="string">fingerprint-reader</merge> + <merge key="access_control.file" type="copy_property">@info.parent:linux.device_file</merge> + </match> </match> </match> |