Hi Patrick, >You don't get a list of privileges from Cynara. You ask whether a uid >+app combination has a certain privilege and get a yes/no answer back. >What would be the privilege here? It would be your job to define that >privilege and ensure that Cynara knows who is allowed to have it.
Please check the following the steps and it matches the requirement of multi-paired? 1. each user can run a NTB daemon and NTB daemon will control the user's BT agent and paired. 2. When userA (in DeviceL) want to pair DeviceR, userA will check if DeviceL has been paired in DeviceL. 3. If not is paired, userA will paired with DeviceR and userA will save that userA has paired with DeviceL successfully and DeviceL has been paired. And userA can use the device. 4. if userB want to pair with DeviceR, it will check if userB has paired with DeviceR or not and if DeviceR has been paired or not. If DeviceR not paired, the process is the same with UserA. If userB not paired with DeviceR and DeviceR has been paired, please check the following steps. userB will ask whether a uid+app combination has a certain privilege and get a yes/no answer back from Cynara. If Cynara tell userB that it has a certain privilege to use DeviceR, userB will set a mark and use DeviceR. If Cynara tell userB that it has not a certain privilege to use DeviceR, userB will pair with DeviceR failure and can't use DeviceR and tell app that paired with DeviceR failure. The process matches multi-paired? If not, any more requirements? Thanks. Best Regards Zheng Wu -----Original Message----- From: Patrick Ohly [mailto:[email protected]] Sent: Tuesday, September 23, 2014 4:02 PM To: Zheng, Wu Cc: [email protected]; Le Foll, Dominique; [email protected]; Von Dentz, Luiz Subject: Re: [Dev] FW: Tizen 3 services: use case for multi user On Tue, 2014-09-23 at 07:48 +0000, Zheng, Wu wrote: > And any idea for how to differentiate this from a non-shared device? > > 1. send a request to Cynara with user id and application id params? > And get the user related privileges? You don't get a list of privileges from Cynara. You ask whether a uid +app combination has a certain privilege and get a yes/no answer back. What would be the privilege here? It would be your job to define that privilege and ensure that Cynara knows who is allowed to have it. > Or the other idea? Sorry, I don't know. That's why I am asking what your plan is. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
