Marcus Leech
2007-11-08 16:29:15 UTC
Ivan:
What is the usage for PermissionSet()?
here's what I have:
fp = open ((join(bundle_path, 'permissions.info'))
PSet = PermissionSet(fp=fp)
...
...
if Pset.has_permission ('use_camera') == True:
# Begin armageddon...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.laptop.org/pipermail/security/attachments/20071108/b4f9f9a9/attachment.pgp
What is the usage for PermissionSet()?
here's what I have:
fp = open ((join(bundle_path, 'permissions.info'))
PSet = PermissionSet(fp=fp)
...
...
if Pset.has_permission ('use_camera') == True:
# Begin armageddon...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.laptop.org/pipermail/security/attachments/20071108/b4f9f9a9/attachment.pgp