summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiAccessControl.mdwn22
1 files changed, 10 insertions, 12 deletions
diff --git a/TWiki/TWikiAccessControl.mdwn b/TWiki/TWikiAccessControl.mdwn
index 26e23735..7b007175 100644
--- a/TWiki/TWikiAccessControl.mdwn
+++ b/TWiki/TWikiAccessControl.mdwn
@@ -1,3 +1,5 @@
+%TOC% %STARTINCLUDE%
+
## <a name="TWiki_Access_Control"> TWiki Access Control </a>
%WIKITOOLNAME% allows you to define restrictions of who is allowed to view a %WIKITOOLNAME% web, make changes to topics or attach files.
@@ -25,7 +27,7 @@ Access control is based on users and groups.
* GROUP defines the members of the group; it is a comma delimited list of users and other groups. Example: <br /><code>    \* Set GROUP = %MAINWEB%.SomeUser, %MAINWEB%.OtherUser, %MAINWEB%.SomeOtherGroup</code>
* ALLOWTOPICCHANGE defines who is allowed to change the group topic; it is a comma delimited list of users and groups. You typically want to restrict that to the members of the group itself, so it should contain the name of the topic, i.e. <br /><code>    \* Set ALLOWTOPICCHANGE = %MAINWEB%.TWikiAdminGroup</code><br /> for the TWikiAdminGroup topic. (This is to prevent users not in the group from editing the topic and gaining unauthorized membership to the group.)
-### <a name="Write_Access_Restriction_for_Ind"> Write Access Restriction for Individual Topics </a>
+### <a name="Write_Access_Restriction_by_Topi"> Write Access Restriction by Topic </a>
You can define restrictions of who is allowed to make changes to a topic or attach files to it.
@@ -40,7 +42,7 @@ ALLOWTOPICCHANGE defines users or groups that **are** allowed to make changes to
DENYTOPICCHANGE is evaluated before ALLOWTOPICCHANGE. Access is denied if the authenticated person is in the DENYTOPICCHANGE list, or not in the ALLOWTOPICCHANGE list. Access is granted in case DENYTOPICCHANGE and ALLOWTOPICCHANGE is not defined.
-### <a name="Write_Access_Restriction_for_a_W"> Write Access Restriction for a Whole %WIKITOOLNAME% Web </a>
+### <a name="Write_Access_Restriction_by_Web"> Write Access Restriction by Web </a>
You can define restrictions of who is allowed to make changes to a %WIKITOOLNAME% web. This includes creating new topics, changing topics or attaching files.
@@ -54,7 +56,7 @@ The same rules apply like the one for Access Control for Individual Topics; with
* DENYTOPICCHANGE (in topic) overrides DENYWEBCHANGE (in %WEBPREFSTOPIC%)
* ALLOWTOPICCHANGE (in topic) overrides ALLOWWEBCHANGE (in %WEBPREFSTOPIC%)
-### <a name="Rename_Access_Restriction_for_In"> Rename Access Restriction for Individual Topics </a>
+### <a name="Rename_Access_Restriction_by_Top"> Rename Access Restriction by Topic </a>
You can define restrictions of who is allowed to rename a topic. Note that users need this permission in addition to the CHANGE permission in order to rename a topic. They also need CHANGE access to change references in referring topics.
@@ -69,7 +71,7 @@ ALLOWTOPICRENAME defines users or groups that **are** allowed to rename the topi
DENYTOPICRENAME is evaluated before ALLOWTOPICRENAME. Access is denied if the authenticated person is in the DENYTOPICRENAME list, or not in the ALLOWTOPICRENAME list. Access is granted in case DENYTOPICRENAME and ALLOWTOPICRENAME is not defined.
-### <a name="Rename_Access_Restriction_for_a_"> Rename Access Restriction for a Whole %WIKITOOLNAME% Web </a>
+### <a name="Rename_Access_Restriction_by_Web"> Rename Access Restriction by Web </a>
You can define restrictions of who is allowed to do renames for a %WIKITOOLNAME% web.
@@ -83,7 +85,7 @@ The same rules apply like the one for Access Control for Individual Topics; with
* DENYTOPICRENAME (in topic) overrides DENYWEBRENAME (in %WEBPREFSTOPIC%)
* ALLOWTOPICRENAME (in topic) overrides ALLOWWEBRENAME (in %WEBPREFSTOPIC%)
-### <a name="Read_Access_Restriction_for_a_Wh"> Read Access Restriction for a Whole %WIKITOOLNAME% Web </a>
+### <a name="Read_Access_Restriction_by_Web"> Read Access Restriction by Web </a>
You can define restrictions of who is allowed to view a %WIKITOOLNAME% web.
@@ -92,7 +94,7 @@ Define one or both of these variable in the %WEBPREFSTOPIC% topic:
* Set DENYWEBVIEW = &lt; list of users and groups &gt;
* Set ALLOWWEBVIEW = &lt; list of users and groups &gt;
-_Notes for read access restriction:_
+#### <a name="Read_Access_Restriction_Notes"> Read Access Restriction Notes </a>
* The view restriction is not suitable for very sensitive content since there is a way to circumvent the read access restriction.
* Read access restriction only works if the view script is authenticated, that means that users need to log on also just to read topics. [TWiki Installation](TWikiDocumentation#installation) has more on basic authentication based on the `.htaccess` file.
@@ -107,9 +109,7 @@ _Notes for read access restriction:_
* It is not recommended to restrict view access to individual topics since all content is searchable **_within_** a web.
* The view restriction is not suitable for very sensitive content since there is a way to circumvent the read access restriction.
--- [[PeterThoeny]] - 16 Mar 2001 <br />
-
-**_NOTE:_**
+### <a name="The_SuperAdminGroup"> </a> The [[SuperAdminGroup]]
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see [UnchangeableTopicBug](http://www.twiki.org/cgi-bin/view/Codev/UnchangeableTopicBug)). To avoid this:
@@ -119,6 +119,4 @@ The above schema can lock completely a topic in case of a typing error of the AL
* the default setting is not to have superusers
--- [[AndreaSterbini]] - 11 Apr 2001 <br />
-
-**_Related topics:_** %WIKIPREFSTOPIC%, %WEBPREFSTOPIC% (in every web), %MAINWEB%.TWikiAdminGroup, %MAINWEB%.TWikiGroups
+-- [[PeterThoeny]] - 16 Mar 2001 <br /> -- [[AndreaSterbini]] - 11 Apr 2001 <br /> %STOPINCLUDE% **_Related topics:_** %WIKIPREFSTOPIC%, %WEBPREFSTOPIC% (in every web), %MAINWEB%.TWikiAdminGroup, %MAINWEB%.TWikiGroups