<div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">I have learned all messages that I </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">have received on a problem of the multi-user subsystem for MythTV. So I offer more detailed description of my understanding of this problem.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></SPAN></div>  <H2 style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>Introduction</SPAN><SPAN style="mso-ansi-language:
 RU"><o:p></o:p></SPAN></FONT></FONT></H2>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">Of cause, </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">to make anything well, it is necessary to understand all over again an essence of a problem and to formulate it. So I want to formulate behavior MythTV in conditions multi-user.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"> <o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman"
 size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">Developing multi-user subsystem has appeared not simple, especially, for designing because there are many variants of the organization multi-user subsystem. There are many problems, which will be difficult to solve. So I suggest consider the following two variants. They seem to me the most interesting.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><FONT size=3><FONT face="Times New Roman">First
 variant.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">I</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">n each moment of time MythTV knows, who works with it. Using this information MythTV knows, what the user can do, and what can’t. This can be implemented through using of a method ‘login’ - ‘logout’. The similar method is used in operating systems so it is already well-known and clear to many people. However here there are also problems. For example such:</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman"
 size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoBodyTextIndent style="MARGIN: 0cm 0cm 0pt 18pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>- People have not got used to work with the TV as with PC, therefore necessity ‘login’ - ‘logout’ can frighten them.</SPAN><SPAN lang=EN-US style="mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">- </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">If some persons are watching the TV at the same time (for example in family where there are familiarity relationships between members) operations ‘login’ - ‘logout’ will be undesirable.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal
 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">However in big not well acquaint with each other society (as</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US"> </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">neighbors or colleges living\working at same building but in different areas) multi-user system cannot work without ‘login’ - ‘logout’.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT
 face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><FONT size=3><FONT face="Times New Roman">Second variant.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">It is supposed, that there are only certain operations which demand to determine who at present time interacts with MythTV (who has pressed the button). Thus it is possible to ask PIN (as in a mobile phone). If PIN is entered truly than authentication is correct and the user can continue the operation. This way has disadvantage when the number of operations demanding PIN is quite large. It becomes very difficult for the user (because user must enter PIN very often).</SPAN><SPAN lang=EN-US
 style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">I think, that first variant most suitable in our case. So I specify its behavior in detail.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman"
 size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">1. </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">After MythTV installation by default only one user (root) will be exist. All operations will be carried out from its name. Externally it will be not as multi-user but as normal (as single user) usual MythTV interface. </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">2. </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">If the user want, he would able to add other users (to specify
 name, rights, etc.) into MythTV. I think, that he can make this locally, however in a consequence it is possible to implement this operation as remote.<o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">3. If MythTV contains a lot of users than as frontend starts, it is possible to do follows (depending on MythTV settings). </SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none; tab-stops: 72.0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-spacerun:
 yes">&nbsp;&nbsp;&nbsp; </SPAN>- MythTV suggest to enter login (a name and a password) or to select login from the list, if more that one users usually work with frontend.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>- For the user who usually uses frontend only for itself better to use his login automatically.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm
 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">4. </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">MythTV will use account logged user until the user will logout. Besides it is necessary to show a name of the current (logged) user on the screen and to show the information about current (logged) user by pressing the certain shortcut key (button)</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">5. As </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">Initiator of logout should be the current (logged) user. For this purpose he presses the appropriate shortcut key
 (on keyboard) or button (on remote control). After this MythTV changes mode to ‘guest’. Minimum count of operations is accessible in this mode (for example, channel view only). I think there is no necessary to organize screen lock because it is burden for the user.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman">Account for user will allow to organize current user context in MythTV. It means, that each user can fully control his data and fulfils allowed operations (depend on permissions).<o:p></o:p></FONT></FONT></SPAN></div>  <div
 class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><SPAN style="mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><SPAN style="mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <H1 style="MARGIN: 0cm 0cm 0pt 18pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>Permissions</SPAN><SPAN style="mso-ansi-language: RU"><o:p></o:p></SPAN></FONT></FONT></H1>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">Permissions are stored in ACCOUNTS.permission field in the form, which has
 been offered by Chris Pinkham.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">This is not a complete list, just an example, and the list of permissions can easily be expanded later.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Permissions would be additive, never negative so root has all bits turned on.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm
 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000001 - edit normal settings _only_<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000002 - edit advanced settings _only_<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000003 - edit all settings<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000004 - edit users (add/delete/etc.)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000010 -
 create new scheduled recordings (for self)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000020 - delete scheduled recordings (for self)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000040 - edit scheduled recordings (for self)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000100 - create scheduled recordings (for all)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000200 - delete scheduled recordings (for
 all)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00000400 - edit scheduled recordings (for all)<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00001000 - user can run plugins<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">0x00002000 - user can watch any recordings in their<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>recording group
 (see TV ratings description<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>below).<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US"><FONT size=3><FONT face="Times New Roman">.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt 18pt"><FONT size=3><FONT
 face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US">0xffffffff - all-powerful user, a.k.a. root</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">When the situation specified in the list above appear MythTV checks corresponding bit in current user context permission. If bit is equal 0 operation is forbidden, otherwise - it is allowed.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm
 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <H2 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face="Times New Roman" size=3>Shared records</FONT></SPAN></H2>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman">Other problem is shared resource. Here it is necessary to describe what method of sharing most suits for MythTV.<o:p></o:p></FONT></FONT></SPAN></div>  <div
 class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman">The shared resource list can be organized by 2 methods.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>As the separate (independent) list “Shared”. To view it the user should press the appropriate button.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language:
 EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>-<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>As addition to the main user playlist. The user can view among his records in playlist records what belongs to others (shared records).<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">In multi-user subsystem we can allow user to choose list representation as one of this two variants</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US;
 mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman">Here some methods of access control in shared resource are described.<o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">1. </SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">Common shared resource list without access control. Access to this list has all users. Therefore records, which they wish to make accessible, one needs to
 place in this list. Then it is necessary to inform other users that record to be in this list and to specify its name.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA">2.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"> Common shared resource list with access control. This method differs from previous only that each record in the shared resource list has own ACL. This ACL specify permissions for concrete users. For example, this ACL, can look like </SPAN><SPAN
 lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">ID1 - xxxx, ID2 - xxxx, …, IDi - xxxx</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">Where IDi is an user account identifier (userid) for which the rights are set, xxxx is a set of the rights (Each character indicates, one
 of rights R-read, W-write, E-rename etc). </SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">In this case resource is accessible only for that users, whose account’s ID presents in ACL and it gives the appropriate rights. It is necessary to store ACL either in the resource or in the table connected to it.</SPAN><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal
 style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">I think, that for MythTV it is possible to use the second variant.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face="Times New Roman">I have tried shortly to explain my understanding of a problem multi-user subsystem for MythTV. I will be glad to
 receive your thoughts about it. Of course, exists too many different variants how to design and develop multi-user subsystem. And we can have this discussion for ages But I should choose something one to continue coding. <o:p></o:p></FONT></FONT></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'">I already checkout code from svn and began write Account class, based on Account table.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Arial CYR'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New
 Roman'"><o:p></o:p></SPAN></FONT></FONT></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3></FONT></o:p></SPAN>&nbsp;</div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3>In next letter I am going to explane why</FONT>&nbsp;user groups can be needed and how developed&nbsp;concept can satisfy current MythTV users demands and needs.&nbsp;</o:p></SPAN></div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><o:p><FONT face="Times New Roman" size=3></FONT></o:p></SPAN>&nbsp;</div>  <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-ansi-language: EN-US; mso-fareast-language: JA"><FONT size=3><FONT face="Times New Roman">Anastasiya
 <o:p></o:p></FONT></FONT></SPAN></div><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com