multi-user: Add multi-user support in service 12/29712/3
authorZhang zhengguang <zhengguang.zhang@intel.com>
Sat, 11 Oct 2014 07:08:18 +0000 (15:08 +0800)
committerZhang zhengguang <zhengguang.zhang@intel.com>
Fri, 7 Nov 2014 15:32:57 +0000 (23:32 +0800)
commit44a0a44c579df0192ec33c291b2efdfabfe5c7eb
treec4270f3bf4c005225a270ef8184c3cc7bb4d1bc2
parent113ccd0ca92ab8fe8a6e6c2db190cbcbeebe912d
multi-user: Add multi-user support in service

Use cases:

Given 2 users: UserA and UserB

1. If UserA is connected to a wifi service, then UserB is not allowed
to connect wifi service, and not allowed to disconnect the service
UserA connected.

2. If UserA is connected to a wifi service, then UserB is allowed to
use the same connection, but he is not allowed to modify the connection.

3. If UserA is connected to a wifi service with security wep/wpa/psk,
then UserA disconnects it, when UserB tries to connect the same wifi
service, it must input passphrase to connect it.

Change-Id: Id686ebd7d1f3490875a9d8f877219bd004907227
src/connman.h
src/service.c