Le 14/11/2014 10:11, Jussi Laako a écrit :
> On 13.11.2014 18:42, Dominig ar Foll wrote:
>> Please note that in Tizen a user has one session at most.
>> As, in Tizen, everything which is not explicitly allowed is strictly
>> forbidden, I expect that tlm will NOT let a user open multiple session.
>
> There is no such restriction, and restricting it in tlm is not enough,
> because you could ssh to the machine for example. Nothing guarantees
> that tlm would be the only login path.
Agreed going around the system is always possible, but nevertheless tlm,
it shall not authorise, neither encourage an action that is not allowed.
>
> Where is this restriction officially documented?
It was part of the agreement when Multi user architecture was accepted.
 "Multi User concept
  • Multiple user, not multiple concurrent user"
Managing multiples session of the same user induce a let of issues for
applications and we agreed that it was not really needed for Tizen and
decided to stay with a single session model.

For history, please check page 7 of the attached document to the mail
from YOUNG IK CHO<youngik.cho at samsung.com
  https://lists.tizen.org/pipermail/dev/2013-October/000572.html
>
>> Please make sure that that constrain is respected because the rest of
>> the system (in particular the App Manager) is relying on that paradigm.
>
> It should be fixed, why would it be restricted that way?
Because we agreed that the architecture would assume that constrain in
order to simplify the application framework and provide a backward
compatibility with existing Apps.
For info, on your Linux desktop, if you open two sessions under X11, you
will see that many applications will be in trouble (try Firefox or
Thunderbird, if you have some time to spare for the fun).
>
>> If tlm upstream, allows to get a user to open multiple sessions, please
>> create a flag to deactivate that feature in Tizen.
>
> No, if you want that restriction, then correct place is the entity who
> calls tlm's login API. Or better and more correct place is PAM or logind.
Please, make tlm to follow the Tizen rules in Tizen.
>
> We don't want to pose any additional restrictions on top of what
> PAM/logind do.
Yes in Tizen we add constrain, we are NOT creating a desktop but an
embedded secured connected OS with a common App environment and we need
to protech the App investment done in Tizen 2.x.

It does not come with full freedom.


-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to