[OLPC Security] Use of PermissionSet()

Marcus Leech mleech at nortel.com
Thu Nov 8 11:29:15 EST 2007


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 


More information about the Security mailing list