[pnfrance-cvsnotices] traductions/pnpacks/PostNuke/system/Permissions/pnlang/eng admin.php, NONE, 1.1 index.html, NONE, 1.1 init.php, NONE,
Auteur Sujet
Post 
  1. Update of /cvsroot/pnfrance/traductions/pnpacks/PostNuke/system/Permissions/pnlang/eng 
  2. In directory perky.postnuke.com:/tmp/cvs-serv25134/pnpacks/PostNuke/system/Permissions/pnlang/eng 
  3.  
  4. Added Files: 
  5.     admin.php index.html init.php manual.html version.php  
  6. Log Message: 
  7.  
  8.  
  9. --- NEW FILE: init.php --- 
  10. <?php 
  11. // $Id: init.php,v 1.1 2005/10/24 16:09:14 chestnut Exp $ 
  12. // ---------------------------------------------------------------------- 
  13. // PostNuke Content Management System 
  14. // Copyright (C) 2001 by the PostNuke Development Team. 
  15. // http://www.postnuke.com/ 
  16. // ---------------------------------------------------------------------- 
  17. // Based on: 
  18. // PHP-NUKE Web Portal System - http://phpnuke.org/ 
  19. // Thatware - http://thatware.org/ 
  20. // ---------------------------------------------------------------------- 
  21. // LICENSE 
  22. // 
  23. // This program is free software; you can redistribute it and/or 
  24. // modify it under the terms of the GNU General Public License (GPL
  25. // as published by the Free Software Foundation; either version 2 
  26. // of the License, or (at your option) any later version. 
  27. // 
  28. // This program is distributed in the hope that it will be useful, 
  29. // but WITHOUT ANY WARRANTY; without even the implied warranty of 
  30. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
  31. // GNU General Public License for more details. 
  32. // 
  33. // To read the license please visit http://www.gnu.org/copyleft/gpl.html 
  34. // ---------------------------------------------------------------------- 
  35. // Original Author of file: Everyone 
  36. // Purpose of file: Translation files 
  37. // Translation team: Read credits in /docs/CREDITS.txt 
  38. // ---------------------------------------------------------------------- 
  39.  
  40. /** 
  41.  * ;@package PostNuke_System_Modules 
  42.  * ;@subpackage  PostNuke_Permissions 
  43.  * ;@license http://www.gnu.org/copyleft/gpl.html 
  44. */ 
  45.  
  46. // group_perms 
  47. define('_GROUP_PERMS_1_a','2'); 
  48. define('_GROUP_PERMS_1_b','1'); 
  49. define('_GROUP_PERMS_1_c','0'); 
  50. define('_GROUP_PERMS_1_d','.*'); 
  51. define('_GROUP_PERMS_1_e','.*'); 
  52. define('_GROUP_PERMS_1_f','800'); 
  53. define('_GROUP_PERMS_1_g','0'); 
  54.  
  55. // group_perms 
  56. define('_GROUP_PERMS_2_a','-1'); 
  57. define('_GROUP_PERMS_2_b','2'); 
  58. define('_GROUP_PERMS_2_c','0'); 
  59. define('_GROUP_PERMS_2_d','Menublock::'); 
  60. define('_GROUP_PERMS_2_e','Main menu:Administration:'); 
  61. define('_GROUP_PERMS_2_f','0'); 
  62. define('_GROUP_PERMS_2_g','0'); 
  63.  
  64. // group_perms 
  65. define('_GROUP_PERMS_3_a','1'); 
  66. define('_GROUP_PERMS_3_b','3'); 
  67. define('_GROUP_PERMS_3_c','0'); 
  68. define('_GROUP_PERMS_3_d','.*'); 
  69. define('_GROUP_PERMS_3_e','.*'); 
  70. define('_GROUP_PERMS_3_f','300'); 
  71. define('_GROUP_PERMS_3_g','0'); 
  72.  
  73. // group_perms 
  74. define('_GROUP_PERMS_4_a','0'); 
  75. define('_GROUP_PERMS_4_b','4'); 
  76. define('_GROUP_PERMS_4_c','0'); 
  77. define('_GROUP_PERMS_4_d','Menublock::'); 
  78. define('_GROUP_PERMS_4_e','Main menu:(Your account|Log out|Submit news):'); 
  79. define('_GROUP_PERMS_4_f','0'); 
  80. define('_GROUP_PERMS_4_g','0'); 
  81.  
  82. // group_perms 
  83. define('_GROUP_PERMS_5_a','0'); 
  84. define('_GROUP_PERMS_5_b','5'); 
  85. define('_GROUP_PERMS_5_c','0'); 
  86. define('_GROUP_PERMS_5_d','.*'); 
  87. define('_GROUP_PERMS_5_e','.*'); 
  88. define('_GROUP_PERMS_5_f','200'); 
  89. define('_GROUP_PERMS_5_g','0'); 
  90.  
  91. ?> 
  92. --- NEW FILE: admin.php --- 
  93. <?php 
  94. // $Id: admin.php,v 1.1 2005/10/24 16:09:14 chestnut Exp $ 
  95. // ---------------------------------------------------------------------- 
  96. // PostNuke Content Management System 
  97. // Copyright (C) 2001 by the PostNuke Development Team. 
  98. // http://www.postnuke.com/ 
  99. // ---------------------------------------------------------------------- 
  100. // Based on: 
  101. // PHP-NUKE Web Portal System - http://phpnuke.org/ 
  102. // Thatware - http://thatware.org/ 
  103. // ---------------------------------------------------------------------- 
  104. // LICENSE 
  105. // 
  106. // This program is free software; you can redistribute it and/or 
  107. // modify it under the terms of the GNU General Public License (GPL
  108. // as published by the Free Software Foundation; either version 2 
  109. // of the License, or (at your option) any later version. 
  110. // 
  111. // This program is distributed in the hope that it will be useful, 
  112. // but WITHOUT ANY WARRANTY; without even the implied warranty of 
  113. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
  114. // GNU General Public License for more details. 
  115. // 
  116. // To read the license please visit http://www.gnu.org/copyleft/gpl.html 
  117. // ---------------------------------------------------------------------- 
  118. // Original Author of file: Everyone 
  119. // Purpose of file: Translation files 
  120. // Translation team: Read credits in /docs/CREDITS.txt 
  121. // ---------------------------------------------------------------------- 
  122.  
  123. /** 
  124.  * ;@package PostNuke_System_Modules 
  125.  * ;@subpackage  PostNuke_Permissions 
  126.  * ;@license http://www.gnu.org/copyleft/gpl.html 
  127. */ 
  128.  
  129. if (!defined('_DELETE')) { 
  130.     define('_DELETE','Delete'); 
  131. if (!defined('_EDIT')) { 
  132.     define('_EDIT','Edit'); 
  133. if (!defined('_PERMISSIONS')) { 
  134.     define('_PERMISSIONS','Permissions'); 
  135. define('_ALLGROUPS','All groups'); 
  136. define('_ALLREALMS','All realms'); // Realms defines until they get their own home 
  137. define('_ALLUSERS','All users'); 
  138. define('_REALM','Realm'); 
  139. define('_INSTANCE','Instance'); 
  140. define('_COMPONENT','Component'); 
  141. if (!defined('_DOWN')) { 
  142.     define('_DOWN','Down'); 
  143. define('_USERPERMS','User'); 
  144. define('_GROUPPERMS','Group'); 
  145. define('_VIEWGROUPPERMS','View group permissions'); 
  146. define('_VIEWUSERPERMS','View user permissions'); 
  147. define('_MODIFYPERM','Modify'); 
  148. define('_MODIFYGROUPPERM','Modify group permissions'); 
  149. define('_MODIFYUSERPERM','Modify user permissions'); 
  150. define('_NEWPERM',' Add '); 
  151. define('_NEWGROUPPERM','New group permission'); 
  152. define('_NEWUSERPERM','New user permission'); 
  153. define('_PERMLEVEL','Permissions level'); 
  154. define('_PERMOPS','Operations'); 
  155. define('_SEQUENCE','Seq.'); 
  156. define('_UNREGISTEREDGROUP','Unregistered'); 
  157. define('_UNREGISTEREDUSER','Unregistered'); 
  158. if (!defined('_UP')) { 
  159.     define('_UP','Up'); 
  160. define('_PERMISSIONINFO','Permissions information'); 
  161. define('_REGISTEREDCOMP','Registered component'); 
  162. define('_INSTANCETEMP','Instance template'); 
  163.  
  164. // MMaes: Removed some hard-coded text 
  165. define('_PERM_INC','Incremented permission rule'); 
  166. define('_PERM_DEC','Decremented permission rule'); 
  167. define('_PERM_UPD','Updated permission rule'); 
  168. define('_PERM_CREATED','Created permission rule'); 
  169. define('_PERM_DEL','Removed permission rule'); 
  170. define('_PERM_DECINCERR_NOID','Error! Sorry! No such permissions ID: '); 
  171. define('_PERM_DECERR_NOSWAP','No permission directly below that one'); 
  172. define('_PERM_INCERR_NOSWAP','No permission directly above that one'); 
  173. // MMaes: Direct Insert capability 
  174. // define('_PERM_THINS','Ins.'); 
  175. define('_PERMINSBEFORE_ALTTXT','Insert permission rule  before'); 
  176. define('_PERM_INSERR','Error! Sorry! Could not update permission sequences'); 
  177. define('_PERM_INSNOTIFY','Inserted permission rule at position '); 
  178. // MMaes: Only show permissions applying to a group 
  179. define('_SEQ_ADJUST','Shift'); 
  180. define('_PERM_VWSHOWONLY','Only show permissions applying to: '); 
  181. define('_PERM_VWFILTER','Filter'); 
  182. define('_PERM_WARN_FILTERACTIVE','<strong>- PARTIAL VIEW -</strong>'); 
  183. define('_PERM_PARTLY','Partial view of permissions list'); 
  184. define('_PERM_SHOWING','Group: '); 
  185. define('_PERM_DECINCERR_NOSWAPPART','Error! Sorry! Permission-swapping in partial view can only be done if both affected permissions are visible. Please use full view'); 
  186. // MMaes: ListEdit-function, editing in the mainview 
  187. define('_PERM_LISTNONEFOUND','Error! Sorry! No permissions of this kind were found. Please add some first'); 
  188. define('_PERM_COMP_INPUTERR',' [Illegal input in component!] '); 
  189. define('_PERM_INST_INPUTERR',' [Illegal input in instance!] '); 
  190. // MMaes: Module-settings 
  191. define('_PERM_ENABLEFILTER','Enable filtering of group permissions'); 
  192. define('_PERM_DISPLAYWARNING','Show warning bar when in filter list'); 
  193. define('_PERM_ROWHEIGHTVIEW','Minimum viewing row height (in pixels)'); 
  194. define('_PERM_ROWHEIGHTEDIT','Minimum editing row height (in pixels)'); 
  195. define('_PERM_UPDATESETTINGS','Save settings'); 
  196. define('_PERMISSIONSDELETE', 'Delete permission rule'); 
  197. define('_PERMISSIONSCONFIRMDELETE', 'Confirm deletion of rule'); 
  198. define('_PERMISSIONSCANCELDELETE', 'Cancel deletion of rule'); 
  199.  
  200. ?> 
  201. --- NEW FILE: index.html --- 
  202.  
  203. --- NEW FILE: manual.html --- 
  204. <HTML
  205. <HEAD> 
  206. <TITLE>Permissions</TITLE> 
  207. </HEAD> 
  208. <BODY BGCOLOR=FFFFFF TEXT=000000> 
  209. <FONT FACE=Verdana,Arial,Helvetica SIZE=2> 
  210. <CENTER><B>Permissions</B></CENTER> 
  211. <BR><BR> 
  212.  
  213. <H1>Introduction</H1> 
  214.  
  215. The PostNuke permissions system allows complete control over which content on 
  216. the site is available to different users, and what they can do with it.  It 
  217. also allows the site to have multiple administrators, each responsible for 
  218. their own area, and further subdivides all content into separate realms to 
  219. allow for multiple sets of content on the same site but viewable by different 
  220. users. 
  221.  
  222. <BR><BR> 
  223.  
  224. This help file covers the administration of the permissions system. 
  225.  
  226. <BR><BR> 
  227. <HR> 
  228. <B> 
  229.   Warning: Incorrect permissions could allow any user administrative access to 
  230.   your site.  Please ensure that you have read and understood this document 
  231.   before attempting to set up your own permissions system. 
  232. </B> 
  233. <HR> 
  234.  
  235. <H2>Permission Attributes</H2> 
  236.  
  237. Each permission is compsed of a number of attributes.  These attributes are 
  238. explained in detail below. 
  239.  
  240. <H2>Realm</H2> 
  241.  
  242. A realm is an area of control for content.  Most users will not need this, 
  243. as they will only have a single realm.  More information on realms can be found 
  244. in the <A HREF="realms.html">realm manual</A>. 
  245.  
  246. <H2>User/Group</H2> 
  247.  
  248. This is the user or group that the permission applies to.  More information on 
  249. groups can be found in the <A HREF="groups.html">groups manual</A>. 
  250.  
  251. <H2>Component</H2> 
  252.  
  253. This is the component that you wish the permission to work against.  The 
  254. component takes the form of a triplet separated by the colon (:) symbol.  There 
  255. are three types of component 
  256.  
  257. <UL> 
  258.  
  259.   <LI>System - System components take the form of 
  260.   "<I>system</I>:<I>area</I>:<I>instance</I>" where <I>area</I> and 
  261.   <I>instance</I> are currently reserved. 
  262.  
  263.   <LI>Block - Block components take the form of 
  264.   "<I>type</I>:<I>instance</I>:<I>action</I>" where <I>type</I> is the block 
  265.   type ('Type' column on the blocks administration page) with 'block' appended 
  266.   to it, and <I>instance</I> and <I>action</I> are currently reserved. 
  267.  
  268.   <LI>Module - Module components take the form of 
  269.   "<I>name</I>:<I>instance</I>:<I>area</I>" where <I>type</I> is the name of 
  270.   the module (e.g. "Web Links", "Downloads"), <I>instance</I> is currently 
  271.   reserved, and <I>area</I> is the are of the module affected. 
  272.  
  273. </UL> 
  274.  
  275. The component value is an anchored regular expression.  To <A TARGET="_NEW" 
  276.   HREF="../admin.php?op=secshowinstanceinformation">see a list of currently 
  277.   registered componenets</A> you can click on the 'Component' or 'Instance' 
  278. headings on the permissions view page. 
  279.  
  280. <HR> 
  281. <B> 
  282.   Warning: Incorrect component values could allow any user administrative 
  283.   access to your site.  Please ensure that you are familiar with regular 
  284.   expressions before attempting to set up your own permissions system. 
  285. </B> 
  286. <HR> 
  287.  
  288. <H2>Instance</H2> 
  289.  
  290. This is the instance of the component that you wish to permission to work 
  291. against.  The instance takes the form of a triplet separated by the colon (:) 
  292. symbol.  The instance values are component-dependent; a list of instance 
  293. templates for all currently installed modules and blocks is available by 
  294. clicking on the 'Instance' heading on the table. 
  295.  
  296. The instance value is an anchored regular expression. 
  297.  
  298. <H2>Level</H2> 
  299.  
  300. This is the level of authorisation provided.  It can be one of the following: 
  301.  
  302. <UL> 
  303.   <LI>None - no access 
  304.   <LI>Overview - allowed an overview of the content 
  305.   <LI>Read - allowed to read the content 
  306.   <LI>Comment - allowed to comment on the content 
  307.   <LI>Moderate - allowed to moderate the content 
  308.   <LI>Edit - allowed to edit the content 
  309.   <LI>Add - allowed to add content 
  310.   <LI>Delete - allowed to delete content 
  311.   <LI>Admin - full access 
  312. </UL> 
  313.  
  314. Ensure that the correct level is chosen to allow only as many permissions as 
  315. are required. 
  316.  
  317. <H2>Ordering</H2> 
  318.  
  319. Ordering of permissions is very important.  When checking for permissions the 
  320. authorisation system will return the first matching permission that it finds, and this must be taken in to account when setting up a permissions sequence. 
  321.  
  322. <H2>User and Group Permissions</H2> 
  323.  
  324. User permissions are considered to explicitly override group permissions.  If a 
  325. group and a user permission are both found for an authorisation attempt, the 
  326. permissions system will return the user permission
  327.  
  328. <H2>Examples</H2> 
  329.  
  330. The following are a number of examples showing the security system, with 
  331. explanations.  All of the examples use group permissions rather than user 
  332. permissions; they allow easier configuration for larger sites with multiple 
  333. users.  User permissions follow the same method, but are explicit 
  334.  
  335. <H3>Initial Setup</H3> 
  336.  
  337. <IMG SRC="../../pnimages/perms01.png" ALT="Permissions example 01"> 
  338. <BR><BR> 
  339.  
  340. This picture shows the initial permission settings that come with a new 
  341. PostNuke install.  A detailed explanation of each of the items follows: 
  342.  
  343. <UL> 
  344.  
  345.   <LI> Allow those in group 'Admins' to access everything at permission level 
  346.   'Admin'. 
  347.   <UL> 
  348.  
  349.     <LI><B>Group</B> 'Admins'.  This group should have all site administrators 
  350.     in it 
  351.  
  352.     <LI><B>Component</B> '.*'.  This matches any component 
  353.  
  354.     <LI><B>Instance</B> '.*'.  This matches any instance 
  355.  
  356.     <LI><B>Level</B> 'Admin'.  This allows the highest level of access 
  357.  
  358.   </UL> 
  359.  
  360.   <LI> Stop non-administrators from viewing the Administration entry in the 
  361.   main menu. 
  362.  
  363.   <UL> 
  364.  
  365.     <LI><B>Group</B> 'All groups'.  This is a special group that includes every 
  366.     user on the site that is a member of a group, and also the unregistered 
  367.     (anonymous) user.  Note that this group cannot have users added to it; it 
  368.     automatially picks up all users in the system when it runs.  Note that it 
  369.     is a very good idea to ensure that all users are in at least one group on 
  370.     the system 
  371.  
  372.     <LI><B>Component</B> 'Menublock::'.  This matches anything with the 
  373.     component 'Menublock::', which are all of the blocks with type 'Menu' 
  374.  
  375.     <LI><B>Instance</B> 'Main Menu:Administration:'.  This will match for a 
  376.     menu block titled 'Main Menu' and a link titled 'Administration' 
  377.  
  378.     <LI><B>Level</B> 'None'.  This means that no access at all will be allowed; 
  379.     in the case of the menu this just means that the link will not be displayed 
  380.  
  381.   </UL> 
  382.  
  383.   <LI> Allow normal users to do anything on the system up to comment 
  384.  
  385.   <UL> 
  386.  
  387.     <LI><B>Group</B> 'Users'.  This group should have all site users in it 
  388.  
  389.     <LI><B>Component</B> '.*'.  This matches any component 
  390.  
  391.     <LI><B>Instance</B> '.*'.  This matches any instance 
  392.  
  393.     <LI><B>Level</B> 'Comment'.  This allows access up to the level of 
  394.     commenting.  Any attempts to do things beyond this will be refused. 
  395.  
  396.   </UL> 
  397.  
  398.   <LI> Stop unregistered users from seeing user-specific items in the main 
  399.   menu. 
  400.  
  401.   <UL> 
  402.  
  403.     <LI><B>Group</B> 'Unregistered'.  This is a special group that corresponds 
  404.     only to users who are not logged in to the site. 
  405.  
  406.     <LI><B>Component</B> 'Menublock::'.  This matches anything with the 
  407.     component 'Menublock::', which are all of the blocks with type 'Menu' 
  408.  
  409.     <LI><B>Instance</B> 'Main Menu:(My Account|Logout):'.  This will match for 
  410.     a menu block titled 'Main Menu' and a link titled 'My Account' or 'Logout' 
  411.  
  412.     <LI><B>Level</B> 'None'.  This means that no access at all will be allowed; 
  413.     in the case of the menu this just means that the link will not be displayed 
  414.  
  415.   </UL> 
  416.  
  417.   <LI> Allow unregistered users to do anything on the system up to read 
  418.  
  419.   <UL> 
  420.  
  421.     <LI><B>Group</B> 'Unregistered'.  This is a special group that corresponds 
  422.     only to users who are not logged in to the site. 
  423.  
  424.     <LI><B>Component</B> '.*'.  This matches any component 
  425.  
  426.     <LI><B>Instance</B> '.*'.  This matches any instance 
  427.  
  428.     <LI><B>Level</B> 'Read'.  This allows access up to the level of 
  429.     commenting.  Any attempts to do things beyond this will be refused. 
  430.  
  431.   </UL> 
  432. </UL> 
  433.  
  434. <H3>Adding a Sub-administrator Group</H3> 
  435.  
  436. <IMG SRC="../../pnimages/perms02.png" ALT="Permissions example 02"> 
  437. <BR><BR> 
  438.  
  439. This picture shows the permission settings after a new sub-administrator group 
  440. has been added.  The sub-administrator group is only allowed to administrate 
  441. the 'Polls' and 'Web Links' areas of the site. 
  442.  
  443. <P> 
  444.  
  445. Note that the Web links area actually has two separate sub-sections for 
  446. permissions.  One is for categories, and the other is for the links themselves. 
  447. We want this group to be able to work on both of these sub-sections. 
  448.  
  449. <P> 
  450.  
  451. This table only has one new entry.  It is explained below. 
  452.  
  453. <UL> 
  454.   <LI>Allow subadmins access to polls and web links 
  455.  
  456.   <UL> 
  457.  
  458.     <LI><B>Group</B> 'Subadmins'.  This is the group of subadministrators. 
  459.     Note that groups are created and populated through the <I>groups</I> 
  460.     administrative interface 
  461.  
  462.     <LI><B>Component</B> '[(Polls::)|(Web lLnks:.*)]'.  This is a relatively 
  463.     complex regular expression, that covers the component 'Polls::' and all 
  464.     components that start with 'Web Links:' 
  465.  
  466.     <LI><B>Instance</B> '.*'.  This matches any instance 
  467.  
  468.     <LI><B>Level</B> 'Admin'.  This allows the highest level of access 
  469.  
  470.   </UL> 
  471.  
  472. </UL> 
  473. <H3>Per-Group Settings</H3> 
  474.  
  475. <IMG SRC="../../pnimages/perms03.png" ALT="Permissions example 03"> 
  476. <BR><BR> 
  477.  
  478. This picture shows the permission settings after a set of per-group settings 
  479. have been added.  Two new user groups, 'Technical people' and 'Design people', 
  480. have been added and the administrator of the site wants to give them different 
  481. polls that better reflect their knowledge. 
  482.  
  483. <P> 
  484.  
  485. This table has four new entries.  They are explained below. 
  486.  
  487. <UL> 
  488.  
  489.   <LI> Allow those in group 'Technical people' to comment on the poll about 
  490.   operating systems. 
  491.    
  492.   <UL> 
  493.  
  494.     <LI><B>Group</B> 'Technical people'.  This is the group of 
  495.     people in the system that understand technical issues 
  496.  
  497.     <LI><B>Component</B> 'Polls::'.  This matches anything with the component 
  498.     'Polls::' 
  499.  
  500.     <LI><B>Instance</B> 'What Operating System Should This Site Run On\?::.*'. 
  501.     This is a very specific instance, and will only match to polls that have 
  502.     this question as the title.  Note that the '?' in the title has to be 
  503.     escaped, as this is a regular expression.<BR> 
  504.      
  505.     By looking at the instance schema for the polls it can be seen that an 
  506.     alternative way to express this would have been '.*:3', where '3' in this 
  507.     case is the unique ID of this poll.  Using IDs is quicker and ensures 
  508.     uniqueness, but is a lot harder to understand when looking at the 
  509.     permissions system.  The choice to use names or IDs is left to the 
  510.     individual site administrator  It is also possible to use both title and ID 
  511.     if desired in this case the resultant instance would be 'What Operating 
  512.     System Should This Site Run On\?::3' 
  513.  
  514.     <LI><B>Level</B> 'Comment'.  This allows access up to the level of 
  515.     commenting.  Any attempts to do things beyond this, such as editing or 
  516.     deleting the poll, will be refused 
  517.  
  518.   </UL> 
  519.  
  520.   <LI> Don't allow anyone else to comment on the poll about operating systems. 
  521.  
  522.   <UL> 
  523.  
  524.     <LI><B>Group</B> 'All groups'.  This is a special group that includes every 
  525.     user on the site that is a member of a group, and also the unregistered 
  526.     (anonymous) user 
  527.  
  528.     <LI><B>Component</B> 'Polls::'.  This matches anything with the component 
  529.     'Polls::' 
  530.  
  531.     <LI><B>Instance</B> 'What Operating System Should This Site Run On\?::'. 
  532.     The specific instance for this poll, as has been explained above 
  533.  
  534.     <LI><B>Level</B> 'None'.  This means that no access at all will be allowed; 
  535.     in the case of the poll this just means that it will not be displayed 
  536.  
  537.   </UL> 
  538.  
  539.   <LI> Allow those in group 'Design people' to comment on the poll about 
  540.   the site design. 
  541.  
  542.   <UL> 
  543.  
  544.     <LI><B>Group</B> 'Design people'.  This is the group of 
  545.     people in the system that understand design issues 
  546.  
  547.     <LI><B>Component</B> 'Polls::'.  This matches anything with the component 
  548.     'Polls::' 
  549.  
  550.     <LI><B>Instance</B> 'Should This Site Be Redesigned\?::.*'. 
  551.     This is a very specific instance, and will only match to polls that have 
  552.     this question as the title.  Note that the '?' in the title has to be 
  553.     escaped, as this is a regular expression.<BR>See above for more information 
  554.     on specific instances. 
  555.  
  556.     <LI><B>Level</B> 'Comment'.  This allows access up to the level of 
  557.     commenting.  Any attempts to do things beyond this, such as editing or 
  558.     deleting the poll, will be refused 
  559.  
  560.   </UL> 
  561.  
  562.   <LI> Don't allow anyone else to comment on the poll about the site design. 
  563.  
  564.   <UL> 
  565.  
  566.     <LI><B>Group</B> 'All groups'.  This is a special group that includes every 
  567.     user on the site that is a member of a group, and also the unregistered 
  568.     (anonymous) user 
  569.  
  570.     <LI><B>Component</B> 'Polls::'.  This matches anything with the component 
  571.     'Polls::' 
  572.  
  573.     <LI><B>Instance</B> 'Should This Site Be Redesigned\?::.*'. 
  574.     The specific instance for this poll, as has been explained above 
  575.  
  576.     <LI><B>Level</B> 'None'.  This means that no access at all will be allowed; 
  577.     in the case of the poll this just means that it will not be displayed 
  578.  
  579.   </UL> 
  580.  
  581. </UL> 
  582.  
  583. Note that any poll which does not explicitly fit the instance information is 
  584. treated is ignored by these rules, so with this setup the normal poll will 
  585. still show up in addition to the specialised polls. 
  586.  
  587. <H3>Admin Overrides</H3> 
  588.  
  589. <IMG SRC="../../pnimages/perms04.png" ALT="Permissions example 04"> 
  590. <BR><BR> 
  591.  
  592. This picture shows how to fix a potential problem that results from the above 
  593. changes.  When an administrator logs on, he will get beseiged by polls - the 
  594. two specialised ones and also the normal poll.  Being an administrator, he 
  595. probably doesn't even want to vote in them! 
  596.  
  597. <P> 
  598.  
  599. The solution to this problem is to block the administrator from seeing the 
  600. polls.  An obvious first attempt to do this would involve setting up a 
  601. permissions entry for the administrators with a component of 'Polls::', an 
  602. instance of '.*', an an access level of 'None'.  However, this is <I>not</I> 
  603. what is required.  An entry like this would block administrative ccess to the 
  604. polls altogether, so the administrators could no edit current polls, create new 
  605. polls, or even access poll results.  
  606.  
  607. <P> 
  608.  
  609. What the administrator really wants to do is not to block access to the polls 
  610. themselves, but to block access to the polls <I>blocks</I>.  This means that 
  611. the polls blocks are not displayed, but the polls themselves are still fully 
  612. available through the administrative interface. 
  613.  
  614. <H3>Other Examples</H3> 
  615.  
  616. Future examples will be made available at a later date. 
  617.  
  618.  
  619. </FONT> 
  620. </BODY> 
  621. </HTML
  622.  
  623. --- NEW FILE: version.php --- 
  624. <?php 
  625. // Generated: $Id: version.php,v 1.1 2005/10/24 16:09:14 chestnut Exp $ 
  626. // ---------------------------------------------------------------------- 
  627. // PostNuke Content Management System 
  628. // Copyright (C) 2001 by The PostNuke Development Team. 
  629. // http://www.postnuke.com/ 
  630. // ---------------------------------------------------------------------- 
  631. // Based on: 
  632. // PHP-NUKE Web Portal System - http://phpnuke.org/ 
  633. // Thatware - http://thatware.org/ 
  634. // ---------------------------------------------------------------------- 
  635. // LICENSE 
  636. // 
  637. // This program is free software; you can redistribute it and/or 
  638. // modify it under the terms of the GNU General Public License (GPL
  639. // as published by the Free Software Foundation; either version 2 
  640. // of the License, or (at your option) any later version. 
  641. // 
  642. // This program is distributed in the hope that it will be useful, 
  643. // but WITHOUT ANY WARRANTY; without even the implied warranty of 
  644. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
  645. // GNU General Public License for more details. 
  646. // 
  647. // To read the license please visit http://www.gnu.org/copyleft/gpl.html 
  648. // ---------------------------------------------------------------------- 
  649. // Original Author of file: Your Name 
  650. // Purpose of file: Blank mod Version language file 
  651. // Translation team: Read credits in /docs/CREDITS.txt 
  652. // ---------------------------------------------------------------------- 
  653. /** 
  654.   * ;@author       Frank Chestnut [Chestnut] 
  655.   * ;@version      $Revision: 1.1 $ 
  656.   * ;@package      PostNuke_System_Modules 
  657.   * ;@subpackage   Admin 
  658.   * ;@license      http://www.gnu.org/copyleft/gpl.html GNU General Public License 
  659.  */ 
  660.  
  661. define('_PERMSMOD_NAME',        'Permissions'); 
  662. define('_PERMSMOD_DISPLAYNAME', 'Permissions Administration'); 
  663. define('_PERMSMOD_DESCRIPTION', 'Modify permissions security'); 
  664.  
  665. ?> 
  666. _______________________________________________ 
  667. Pnfrance-cvsnotices mailing list 
  668. Pnfrance-cvsnotices@lists.postnuke.com 
  669. http://perky.postnuke.com/mailman/listinfo/pnfrance-cvsnotices 
  670.  
Données personnelles