José, Thanks for your findings. We will fix the bug as soon as possible and make you informed when it is fixed.
Thanks Zhang Xu > -----Original Message----- > From: Crosswalk-dev > [mailto:[email protected]] On Behalf Of José > Bollo > Sent: Thursday, March 27, 2014 9:44 PM > To: [email protected] > Subject: Re: [Crosswalk-dev] [Crosswalk-Dev] launch xpk application in Tizen > IVI > device > > Hi all, > > I just checked the announce of march the 6th about "API Access Control > Feature" (see > https://lists.crosswalk-project.org/pipermail/crosswalk-dev/2014-March/0011 > 09.html and > https://docs.google.com/document/d/19IOppzhW1e5-jsuq_yVPMK5MANSYNh > 74jQc01DS9LZc/edit#) > > After checking the source code it seems that declared API verbs could only > rely > to one permission. Then calling: > > RegisterPermissions(extension, "[ > { > "permission_name": "perm1", > "apis": [ "verb" ] > }, > { > "permission_name": "perm2", > "apis": [ "verb" ] > } > ]") > > will be treated as if > > RegisterPermissions(extension, "[ > { > "permission_name": "perm2", > "apis": [ "verb" ] > } > ]") > > was called. > > The meaning of a such construct of the 2 permissions for a single verb is not > the > concern here but that examples shows that this meaning (or or and or xor) has > to be either decided in hard or has to be explained in the JSON string. > > Best regards > José > > > > > _______________________________________________ > Crosswalk-dev mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
