TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 205 to 205 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 04 May 2002 -- MikeMannix? - 12 May 2002 | |||||||
> > |
-- TWiki:Main.PeterThoeny - 04 May 2002 -- TWiki:Main.MikeMannix - 12 May 2002 | |||||||
Added: | ||||||||
> > |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 25 to 25 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
Authentication vs. Access ControlAuthentication: Identifies who a user is based on a login procedure. See TWikiUserAuthentication. Access control: Restrict access to content based on users and groups once a user is identified. | |||||||
Users and GroupsAccess control is based on the familiar concept of Users and Groups. Users are defined by their WikiNames. They can then be organized in unlimited combinations by inclusion in one or more user Groups. For convenience, Groups can also be included in other Groups. |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 31 to 31 | ||||||||
---|---|---|---|---|---|---|---|---|
Managing Users | ||||||||
Changed: | ||||||||
< < |
A user is created with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest. | |||||||
> > |
A user can create an account in TWikiRegistration. The following actions are performed: | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Managing Groups |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 144 to 144 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 157 to 158 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 170 to 172 | ||||||||
Hiding Control Settings | ||||||||
Changed: | ||||||||
< < |
<!-- | |||||||
> > |
To hide access control settings from normal browser viewing, place them in comment markers. | |||||||
The SuperAdminGroup |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 112 to 112 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Restricting Web Access | |||||||
> > |
Restricting Read Access | |||||||
Changed: | ||||||||
< < |
You can prevent selected Users and Groups from accessing certain webs, by hiding them using restricting read access, or by requiring login. There are two basic methods, one simple, using standard preferences variables to hide a web, but offering low security, and a secure log-in approach that is currently a workaround, involving some minor script and filesystem modification. | |||||||
> > |
You can define who is allowed to see a web. | |||||||
Changed: | ||||||||
< < |
Create Hidden Webs | |||||||
> > |
Deny Viewing by Topic | |||||||
Changed: | ||||||||
< < |
You can prevent selected Users and Groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic: | |||||||
> > |
Technically it is possible to restrict read access to an individual topic based on DENYTOPICVIEW / ALLOWTOPICVIEW preferences variables, provided that the view script is authenticated. However this setup is not recommended since all content is searchable within a web - a search will turn up view restricted topics.
Deny Viewing by WebYou can define restrictions of who is allowed to view a TWiki web. You can restrict access to certain webs to selected Users and Groups, by:
Obfuscate WebsThe idea is to keep a web hidden by not publishing its URL and by preventing theall webs search option from accessing obfuscated webs. Do so by enabling the NOSEARCHALL variable in WebPreferences:
Authenticate all Webs and Restrict Selected WebsUse the following setup to authenticate users for topic viewing in all webs and to restrict access to selected webs:
| |||||||
| ||||||||
Changed: | ||||||||
< < |
If keeping a hidden web out of general use is a consideration, you can prevent the all webs search option from accessing hidden webs, by enabling the NOSEARCHALL variable in WebPreferences:
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
Hiding webs is not very secure, as there is a way to circumvent the read access restriction. It can be useful in certain situations - for example, to simplify site organization and clutter, by hiding low traffic webs - but is not recommended for securing sensitive content. (See the next section for a more secure approach.) | |||||||
> > |
This method only works if the view script is authenticated, which means that all Users have to login, even for read-only access. (An open guest account, like TWikiGuest, can get around this, allowing anyone to login to a common account with, for example, view-only access for public webs.) TWikiInstallationGuide has more on Basic Authentication, using the .htaccess file.
| |||||||
Changed: | ||||||||
< < |
Create Authenticated Access By Web | |||||||
> > |
Authenticate and Restricting Selected Webs Only | |||||||
Use the following setup to provide unrestricted viewing access to open webs, with authentication only on selected webs: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
view script to the viewauth script once (this happens only if the user has never edited a topic). Doing so will ask for authentication. The viewauth script shows the requested topic if the user could log on and if the user is authorized to see that web.
Authenticating webs is not very secure, as there is a way to circumvent the read access restriction. It can be useful in certain situations - for example, to simplify site organization and clutter, by hiding low traffic webs - but is not recommended for securing sensitive content.
| |||||||
Deleted: | ||||||||
< < |
| |||||||
Hiding Control Settings |
TWiki Access Control | ||||||||
Changed: | ||||||||
< < |
Restricting read and write access to topics and webs, by users and groups | |||||||
> > |
Restricting read and write access to topics and webs, by Users and groups | |||||||
Changed: | ||||||||
< < |
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system. | |||||||
> > |
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user Groups, in three areas: view; edit & attach; and rename/move/delete. Access control, combined with TWikiUserAuthentication, lets you easily create and manage an extremely flexible, fine-grained privilege system. | |||||||
An Important Control Consideration | ||||||||
Changed: | ||||||||
< < |
Open, freeform editing is the essence of the WikiCulture - it's what makes TWiki different and often more effective than other collaboration tools. So, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care. Experience shows that unrestricted write access works very well because: | |||||||
> > |
Open, freeform editing is the essence of WikiCulture - what makes TWiki different and often more effective than other collaboration tools. For that reason, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care - the more restrictions, the less Wiki in the mix. Experience shows that unrestricted write access works very well because: | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
As a collaboration guideline: | |||||||
> > |
As a collaboration guideline: | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Users and Groups | ||||||||
Changed: | ||||||||
< < |
Access control is based on users and groups. Users are defined by their WikiNames, an then organized in unlimited combinations under different user groups. | |||||||
> > |
Access control is based on the familiar concept of Users and Groups. Users are defined by their WikiNames. They can then be organized in unlimited combinations by inclusion in one or more user Groups. For convenience, Groups can also be included in other Groups. | |||||||
Managing Users | ||||||||
Changed: | ||||||||
< < |
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest. | |||||||
> > |
A user is created with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest. | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Managing Groups | ||||||||
Changed: | ||||||||
< < |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup. To create a new group:
| |||||||
> > |
Groups are defined by group topics created in the Main web, like the TWikiAdminGroup. To create a new group:
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Restricting Write Access | ||||||||
Line: 59 to 57 | ||||||||
---|---|---|---|---|---|---|---|---|
Denying editing of a topic also restricts file attachment; both privileges are assigned together.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 75 to 73 | ||||||||
Restricting web-level editing blocks creating new topics, changing topics or attaching files.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The same rules apply as for restricting topics, with these additions:
| ||||||||
Line: 91 to 89 | ||||||||
To allow a user to rename, move or delete a topic, they also need write (editing) permission. They also need write access to change references in referring topics.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 107 to 105 | ||||||||
You can define restrictions of who is allowed to rename a TWiki web.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The same rules apply as for topics, with these additions:
| ||||||||
Line: 116 to 114 | ||||||||
Restricting Web Access | ||||||||
Changed: | ||||||||
< < |
You can prevent selected users and groups from accessing certain webs, by hiding them using restricting read access, or by requiring login. There are two basic methods, one simple, using standard preferences variables to hide a web, but offering low security, and a secure log-in approach that is currently a workaround, involving some minor script and filesystem modification. | |||||||
> > |
You can prevent selected Users and Groups from accessing certain webs, by hiding them using restricting read access, or by requiring login. There are two basic methods, one simple, using standard preferences variables to hide a web, but offering low security, and a secure log-in approach that is currently a workaround, involving some minor script and filesystem modification. | |||||||
Create Hidden Webs | ||||||||
Changed: | ||||||||
< < |
You can prevent selected users and groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic:
| |||||||
> > |
You can prevent selected Users and Groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic:
| |||||||
If keeping a hidden web out of general use is a consideration, you can prevent the all webs search option from accessing hidden webs, by enabling the NOSEARCHALL variable in WebPreferences:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Hiding webs is not very secure, as there is a way to circumvent the read access restriction. It can be useful in certain situations - for example, to simplify site organization and clutter, by hiding low traffic webs - but is not recommended for securing sensitive content. (See the next section for a more secure approach.) | ||||||||
Line: 142 to 140 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Hiding Control Settings
<!-- | ||||||||
Changed: | ||||||||
< < |
Set DENYTOPICCHANGE = Main.SomeGroup | |||||||
> > |
| |||||||
--> | ||||||||
Line: 157 to 155 | ||||||||
The SuperAdminGroupBy mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that no-one can edit it from a browser. To avoid this, you can create Web-based superusers: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
$superAdminGroup = "TWikiAdminGroup"; | ||||||||
Line: 165 to 163 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
-- MikeMannix? - 01 Apr 2002 -- PeterThoeny - 04 May 2002 | |||||||
> > |
-- PeterThoeny - 04 May 2002 -- MikeMannix? - 12 May 2002 |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 17 to 17 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 38 to 38 | ||||||||
Managing Groups | ||||||||
Changed: | ||||||||
< < |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup. To start a new group:
| |||||||
> > |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup. To create a new group:
| |||||||
Restricting Write Access | ||||||||
Line: 59 to 59 | ||||||||
Denying editing of a topic also restricts file attachment; both privileges are assigned together.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 73 to 75 | ||||||||
Restricting web-level editing blocks creating new topics, changing topics or attaching files.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The same rules apply as for restricting topics, with these additions:
| ||||||||
Line: 89 to 91 | ||||||||
To allow a user to rename, move or delete a topic, they also need write (editing) permission. They also need write access to change references in referring topics.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 103 to 107 | ||||||||
You can define restrictions of who is allowed to rename a TWiki web.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The same rules apply as for topics, with these additions:
| ||||||||
Line: 117 to 121 | ||||||||
Create Hidden WebsYou can prevent selected users and groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
If keeping a hidden web out of general use is a consideration, you can prevent the all webs search option from accessing hidden webs, by enabling the NOSEARCHALL variable in WebPreferences:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 129 to 133 | ||||||||
Create Authenticated Access By Web | ||||||||
Changed: | ||||||||
< < |
THIS SECTION CONTAINS WORKAROUNDS. Perhaps unconventional for official documentation, but practical, the following method for extending TWiki functionality involves modifying core TWiki, making it essentially not a feature but a hack. Still, it is officially TWiki developer-approved and documented, and will no doubt be included in some form in an upcoming edition of TWiki.
To selectively restrict web access with the security of Basic Authentication, there is a reliable workaround that involves some straightforward code modification:
Example of viewing script
| |||||||
> > |
Use the following setup to provide unrestricted viewing access to open webs, with authentication only on selected webs: | |||||||
| ||||||||
Line: 173 to 138 | ||||||||
| ||||||||
Added: | ||||||||
> > |
||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Hiding Control Settings | ||||||||
Line: 199 to 165 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
-- MikeMannix? - 01 Apr 2002 | |||||||
> > |
-- MikeMannix? - 01 Apr 2002 -- PeterThoeny - 04 May 2002 |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 57 to 57 | ||||||||
---|---|---|---|---|---|---|---|---|
Deny Editing by Topic | ||||||||
Changed: | ||||||||
< < |
Denying editing of a topic also restricts attaching files to it; both privileges are assigned together. | |||||||
> > |
Denying editing of a topic also restricts file attachment; both privileges are assigned together. | |||||||
| ||||||||
Line: 119 to 119 | ||||||||
You can prevent selected users and groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
If keeping a hidden web out of general use is a consideration, you can prevent the all webs search option from accessing hidden webs, by enabling the NOSEARCHALL variable in WebPreferences:
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Create Authenticated Access By Web | ||||||||
Changed: | ||||||||
< < |
To selectively restrict web access with the security of Basic Authentication, there is a reliable workaround that involves some straightforward code modification: | |||||||
> > |
THIS SECTION CONTAINS WORKAROUNDS. Perhaps unconventional for official documentation, but practical, the following method for extending TWiki functionality involves modifying core TWiki, making it essentially not a feature but a hack. Still, it is officially TWiki developer-approved and documented, and will no doubt be included in some form in an upcoming edition of TWiki. To selectively restrict web access with the security of Basic Authentication, there is a reliable workaround that involves some straightforward code modification: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Example of viewing script redirect
#!/usr/bin/perl -w | ||||||||
Line: 162 to 166 | ||||||||
EOF | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
A SECOND OPTION: A less reliable workaround that also requires code changes is available to provide the same unrestricted viewing access, with authentication required only on selected webs: | |||||||
> > |
A SECOND OPTION: A less reliable workaround that doesn't involve code changes, but does require renaming a script, can provide the same generally unrestricted viewing access, with authentication only on selected webs: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 184 to 190 | ||||||||
The SuperAdminGroup | ||||||||
Changed: | ||||||||
< < |
By mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that it no-one can edit it from a browser. To avoid this:
| |||||||
> > |
By mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that no-one can edit it from a browser. To avoid this, you can create Web-based superusers:
| |||||||
$superAdminGroup = "TWikiAdminGroup"; | ||||||||
Line: 193 to 199 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
-- MikeMannix? - 20 Mar 2002 | |||||||
> > |
-- MikeMannix? - 01 Apr 2002 |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 6 to 6 | ||||||||
---|---|---|---|---|---|---|---|---|
Restricting read and write access to topics and webs, by users and groups | ||||||||
Deleted: | ||||||||
< < |
Overview | |||||||
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system.
An Important Control Consideration | ||||||||
Line: 29 to 27 | ||||||||
Users and Groups | ||||||||
Changed: | ||||||||
< < |
Access control is based on users and groups. Users are defined by their WikiNames, an then organized into unlimited combinations under different user groups. | |||||||
> > |
Access control is based on users and groups. Users are defined by their WikiNames, an then organized in unlimited combinations under different user groups. | |||||||
Managing Users | ||||||||
Line: 112 to 110 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Restricting Read Access | |||||||
> > |
Restricting Web Access | |||||||
Changed: | ||||||||
< < |
You can define restrictions of who is allowed to view a TWiki web. | |||||||
> > |
You can prevent selected users and groups from accessing certain webs, by hiding them using restricting read access, or by requiring login. There are two basic methods, one simple, using standard preferences variables to hide a web, but offering low security, and a secure log-in approach that is currently a workaround, involving some minor script and filesystem modification. | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
Create Hidden WebsYou can prevent selected users and groups from viewing certain TWiki webs by setting one or both of these variables in each web's WebPreferences topic: | |||||||
| ||||||||
Added: | ||||||||
> > |
Create Authenticated Access By Web | |||||||
Changed: | ||||||||
< < |
Known Issues | |||||||
> > |
To selectively restrict web access with the security of Basic Authentication, there is a reliable workaround that involves some straightforward code modification:
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
Example of viewing script | |||||||
Changed: | ||||||||
< < |
Selective Unrestricted Web Access | |||||||
> > |
chdir '..';
# Adjust SCRIPT and PATH_INFO variables to account for the changed directory
my $web = $ENV{SCRIPT_NAME};
$web =~ s#^.*/view(/[^/]*).*$#$1#; # isolate the path element after "view"
$ENV{PATH_TRANSLATED} =~ s#(/[^/]*)$#$web$1#;
$ENV{PATH_INFO} =~ s#(/[^/]*)$#$web$1#;
$ENV{SCRIPT_NAME} =~ s#/view$web#/view#;
$ENV{SCRIPT_FILENAME} =~ s#/view$web#/view#;
# open (LOG, '>>/tmp/redirect.log');
# print LOG join ("\n", scalar localtime (time ()), %ENV);
# close LOG;
exec ('/usr/bin/perl', '-wT', 'view.orig') or
print <<EOF;
Content-type: text/plain
Error executing /cgi-bin/view.orig: $?
Click the BACK button in your browser and contact webmaster\@bcs-oops.org.
EOF
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
A SECOND OPTION: A less reliable workaround that also requires code changes is available to provide the same unrestricted viewing access, with authentication required only on selected webs: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 158 to 193 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
-- MikeMannix? - 02 Dec 2001 | |||||||
> > |
-- MikeMannix? - 20 Mar 2002 |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 41 to 41 | ||||||||
---|---|---|---|---|---|---|---|---|
Managing GroupsGroups are defined by group topics in theMain web, like the TWikiAdminGroup. To start a new group:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Restricting Write Access | ||||||||
Line: 135 to 137 | ||||||||
| ||||||||
Added: | ||||||||
> > |
Hiding Control Settings
<!-- | |||||||
The SuperAdminGroup | ||||||||
Line: 147 to 158 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 16 Mar 2001 -- AndreaSterbini? - 11 Apr 2001 | |||||||
> > |
-- MikeMannix? - 02 Dec 2001 |
Deleted: | ||||||||
< < |
Note: Included topic UtilTempDocNote? does not exist yet | |||||||
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 142 to 140 | ||||||||
---|---|---|---|---|---|---|---|---|
By mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that it no-one can edit it from a browser. To avoid this:
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
$superAdminGroup = "TWikiAdminGroup";
| ||||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 16 Mar 2001 -- AndreaSterbini? - 11 Apr 2001 Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | |||||||
> > |
-- PeterThoeny - 16 Mar 2001 -- AndreaSterbini? - 11 Apr 2001 |
Note: Included topic UtilTempDocNote? does not exist yet TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 10 to 10 | ||||||||
---|---|---|---|---|---|---|---|---|
Overview | ||||||||
Changed: | ||||||||
< < |
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system. | |||||||
> > |
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system. | |||||||
An Important Control Consideration | ||||||||
Changed: | ||||||||
< < |
Open, freeform editing is the essence of the WikiCulture - it's what makes TWiki different and often more effective than other collaboration tools. So, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care. Experience shows that unrestricted write access works very well because: | |||||||
> > |
Open, freeform editing is the essence of the WikiCulture - it's what makes TWiki different and often more effective than other collaboration tools. So, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care. Experience shows that unrestricted write access works very well because: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 35 to 35 | ||||||||
Managing Users | ||||||||
Changed: | ||||||||
< < |
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest. | |||||||
> > |
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest. | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Managing Groups | ||||||||
Line: 123 to 123 | ||||||||
Known Issues
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Selective Unrestricted Web Access
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Added: | ||||||||
> > |
Note: Included topic UtilTempDocNote? does not exist yet | |||||||
TOC: No TOC in "TWiki.TWikiAccessControl" |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Changed: | ||||||||
< < |
TWiki Access Control | |||||||
> > |
TWiki Access Control | |||||||
Restricting read and write access to topics and webs, by users and groups | ||||||||
Changed: | ||||||||
< < |
Overview | |||||||
> > |
Overview | |||||||
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system. | ||||||||
Changed: | ||||||||
< < |
An Important Control Consideration | |||||||
> > |
An Important Control Consideration | |||||||
Open, freeform editing is the essence of the WikiCulture - it's what makes TWiki different and often more effective than other collaboration tools. So, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care. Experience shows that unrestricted write access works very well because: | ||||||||
Line: 27 to 27 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Users and Groups | |||||||
> > |
Users and Groups | |||||||
Access control is based on users and groups. Users are defined by their WikiNames, an then organized into unlimited combinations under different user groups. | ||||||||
Changed: | ||||||||
< < |
Managing Users | |||||||
> > |
Managing Users | |||||||
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest.
| ||||||||
Changed: | ||||||||
< < |
Managing Groups | |||||||
> > |
Managing Groups | |||||||
Groups are defined by group topics in the Main web, like the TWikiAdminGroup. To start a new group:
| ||||||||
Line: 51 to 51 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Restricting Write Access | |||||||
> > |
Restricting Write Access | |||||||
You can define who is allowed to make changes to a web or a topic. | ||||||||
Changed: | ||||||||
< < |
Deny Editing by Topic | |||||||
> > |
Deny Editing by Topic | |||||||
Denying editing of a topic also restricts attaching files to it; both privileges are assigned together.
| ||||||||
Line: 68 to 68 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Deny Editing by Web | |||||||
> > |
Deny Editing by Web | |||||||
Restricting web-level editing blocks creating new topics, changing topics or attaching files. | ||||||||
Line: 80 to 80 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Restricting Rename Access | |||||||
> > |
Restricting Rename Access | |||||||
You can define who is allowed to rename, move or delete a topic, or rename a web. | ||||||||
Changed: | ||||||||
< < |
Deny Renaming by Topic | |||||||
> > |
Deny Renaming by Topic | |||||||
To allow a user to rename, move or delete a topic, they also need write (editing) permission. They also need write access to change references in referring topics. | ||||||||
Line: 98 to 98 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Deny Renaming by Web | |||||||
> > |
Deny Renaming by Web | |||||||
You can define restrictions of who is allowed to rename a TWiki web. | ||||||||
Line: 110 to 110 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Restricting Read Access | |||||||
> > |
Restricting Read Access | |||||||
You can define restrictions of who is allowed to view a TWiki web. | ||||||||
Line: 118 to 118 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Known Issues | |||||||
> > |
Known Issues | |||||||
| ||||||||
Changed: | ||||||||
< < |
Selective Unrestricted Web Access | |||||||
> > |
Selective Unrestricted Web Access | |||||||
| ||||||||
Line: 136 to 136 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
The SuperAdminGroup | |||||||
> > |
The SuperAdminGroup | |||||||
By mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that it no-one can edit it from a browser. To avoid this:
|
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 8 to 8 | ||||||||
---|---|---|---|---|---|---|---|---|
Overview | ||||||||
Changed: | ||||||||
< < |
TWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. | |||||||
> > |
TWikiAccessControl allows you restrict access to single topics and entire webs, by individual user and by user groups, in three main areas: view; edit & attach; and rename/move/delete. These controls, combined with TWikiUserAuthentication, let you easily create and manage an extremely flexible, fine-grained privilege system.
An Important Control ConsiderationOpen, freeform editing is the essence of the WikiCulture - it's what makes TWiki different and often more effective than other collaboration tools. So, it is strongly recommended that decisions to restrict read or write access to a web or a topic are made with care. Experience shows that unrestricted write access works very well because: | |||||||
Deleted: | ||||||||
< < |
IMPORTANT NOTE: Think twice before restricting read or write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Users and Groups | ||||||||
Changed: | ||||||||
< < |
Access control is based on users and groups. | |||||||
> > |
Access control is based on users and groups. Users are defined by their WikiNames, an then organized into unlimited combinations under different user groups. | |||||||
Managing Users | ||||||||
Changed: | ||||||||
< < |
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest.
| |||||||
> > |
A user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest.
| |||||||
Managing Groups | ||||||||
Changed: | ||||||||
< < |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup.
| |||||||
> > |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup. To start a new group:
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Restricting Write Access | ||||||||
Changed: | ||||||||
< < |
Deny Editing by Topic | |||||||
> > |
You can define who is allowed to make changes to a web or a topic. | |||||||
Changed: | ||||||||
< < |
You can define restrictions of who is allowed to make changes to a topic or attach files to it. | |||||||
> > |
Deny Editing by Topic | |||||||
Changed: | ||||||||
< < |
Define one or both of these variables in a topic, preferably at the end of the topic: | |||||||
> > |
Denying editing of a topic also restricts attaching files to it; both privileges are assigned together.
| |||||||
| ||||||||
Changed: | ||||||||
< < |
DENYTOPICCHANGE defines users or groups that are not allowed to make changes to the topic. It is a comma delimited list of users and groups. Example: * Set DENYTOPICCHANGE = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
ALLOWTOPICCHANGE defines users or groups that are allowed to make changes to the topic. It is a comma delimited list of users and groups. Example: * Set ALLOWTOPICCHANGE = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
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. | |||||||
> > |
| |||||||
Deny Editing by Web | ||||||||
Changed: | ||||||||
< < |
You can define restrictions of who is allowed to make changes to a TWiki web. This includes creating new topics, changing topics or attaching files. | |||||||
> > |
Restricting web-level editing blocks creating new topics, changing topics or attaching files. | |||||||
Changed: | ||||||||
< < |
Define one or both of these variable in the WebPreferences topic: | |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
The same rules apply like the one for Access Control for Individual Topics; with these additions: | |||||||
> > |
The same rules apply as for restricting topics, with these additions: | |||||||
Restricting Rename Access | ||||||||
Changed: | ||||||||
< < |
||||||||
> > |
You can define who is allowed to rename, move or delete a topic, or rename a web. | |||||||
Deny Renaming by Topic | ||||||||
Changed: | ||||||||
< < |
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. | |||||||
> > |
To allow a user to rename, move or delete a topic, they also need write (editing) permission. They also need write access to change references in referring topics. | |||||||
Changed: | ||||||||
< < |
Define one or both of these variables in a topic, preferably at the end of the topic: | |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
DENYTOPICCRENAME defines users or groups that are not allowed to rename the topic. It is a comma delimited list of users and groups. Example: * Set DENYTOPICRENAME = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
ALLOWTOPICRENAME defines users or groups that are allowed to rename the topic. It is a comma delimited list of users and groups. Example: * Set ALLOWTOPICRENAME = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
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. | |||||||
> > |
| |||||||
Deny Renaming by Web | ||||||||
Changed: | ||||||||
< < |
You can define restrictions of who is allowed to do renames for a TWiki web. | |||||||
> > |
You can define restrictions of who is allowed to rename a TWiki web. | |||||||
Changed: | ||||||||
< < |
Define one or both of these variable in the WebPreferences topic: | |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
The same rules apply like the one for Access Control for Individual Topics; with these additions: | |||||||
> > |
The same rules apply as for topics, with these additions: | |||||||
| ||||||||
Line: 101 to 114 | ||||||||
You can define restrictions of who is allowed to view a TWiki web. | ||||||||
Changed: | ||||||||
< < |
Define one or both of these variable in the WebPreferences topic: | |||||||
> > |
| |||||||
| ||||||||
Line: 113 to 126 | ||||||||
Selective Unrestricted Web Access
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 125 to 138 | ||||||||
The SuperAdminGroup | ||||||||
Changed: | ||||||||
< < |
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug for more detail). To avoid this:
| |||||||
> > |
By mistyping a user or group name in the ALLOWTOPICCHANGE setting, it's possible to lock a topic so that it no-one can edit it from a browser. To avoid this:
| |||||||
$superAdminGroup = "TWikiAdminGroup"; | ||||||||
Added: | ||||||||
> > |
||||||||
|
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 122 to 122 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
||||||||
The SuperAdminGroupThe above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug for more detail). To avoid this: |
TWiki Access Control | ||||||||
Added: | ||||||||
> > |
Restricting read and write access to topics and webs, by users and groups
Overview | |||||||
TWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. IMPORTANT NOTE: Think twice before restricting read or write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Users and GroupsAccess control is based on users and groups. | ||||||||
Changed: | ||||||||
< < |
Users are defined by the user topics in the Main web, i.e. TWikiGuest
| |||||||
> > |
Managing UsersA user is created by with the TWikiRegistration form. The process generates a topic in the Main web in the new user's WikiName. The default visitor name is TWikiGuest.
Managing Groups | |||||||
Changed: | ||||||||
< < |
Groups are defined by group topics in the Main web, i.e. TWikiAdminGroup
| |||||||
> > |
Groups are defined by group topics in the Main web, like the TWikiAdminGroup.
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > |
Restricting Write Access | |||||||
Changed: | ||||||||
< < |
Write Access Restriction by Topic | |||||||
> > |
Deny Editing by Topic | |||||||
You can define restrictions of who is allowed to make changes to a topic or attach files to it. | ||||||||
Line: 42 to 55 | ||||||||
---|---|---|---|---|---|---|---|---|
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. | ||||||||
Changed: | ||||||||
< < |
Write Access Restriction by Web | |||||||
> > |
Deny Editing by Web | |||||||
You can define restrictions of who is allowed to make changes to a TWiki web. This includes creating new topics, changing topics or attaching files. | ||||||||
Line: 54 to 67 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Rename Access Restriction by Topic | |||||||
> > |
Restricting Rename AccessDeny Renaming by Topic | |||||||
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. | ||||||||
Line: 68 to 85 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < |
Rename Access Restriction by Web | |||||||
> > |
Deny Renaming by Web | |||||||
You can define restrictions of who is allowed to do renames for a TWiki web. | ||||||||
Line: 80 to 97 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Read Access Restriction by Web | |||||||
> > |
Restricting Read Access | |||||||
You can define restrictions of who is allowed to view a TWiki web. | ||||||||
Line: 88 to 105 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Read Restriction Known Issues | |||||||
> > |
Known Issues | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
Selective Unrestricted Web Access | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The SuperAdminGroup | ||||||||
Changed: | ||||||||
< < |
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug). To avoid this:
| |||||||
> > |
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug for more detail). To avoid this:
| |||||||
$superAdminGroup = "TWikiAdminGroup"; | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
-- PeterThoeny - 16 Mar 2001 -- AndreaSterbini? - 11 Apr 2001 |
TOC: No TOC in "TWiki.TWikiAccessControl" | ||||||||
Line: 88 to 88 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Read Access Restriction Notes | |||||||
> > |
Read Restriction Known Issues | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
Changed: | ||||||||
< < |
The SuperAdminGroup? | |||||||
> > |
The SuperAdminGroup | |||||||
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug). To avoid this:
|
Added: | ||||||||
> > |
TOC: No TOC in "TWiki.TWikiAccessControl" | |||||||
TWiki Access ControlTWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. | ||||||||
Line: 25 to 28 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Write Access Restriction for Individual Topics | |||||||
> > |
Write Access Restriction by Topic | |||||||
You can define restrictions of who is allowed to make changes to a topic or attach files to it. | ||||||||
Line: 39 to 42 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < |
Write Access Restriction for a Whole TWiki Web | |||||||
> > |
Write Access Restriction by Web | |||||||
You can define restrictions of who is allowed to make changes to a TWiki web. This includes creating new topics, changing topics or attaching files. | ||||||||
Line: 51 to 54 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Rename Access Restriction for Individual Topics | |||||||
> > |
Rename Access Restriction by Topic | |||||||
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. | ||||||||
Line: 65 to 68 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < |
Rename Access Restriction for a Whole TWiki Web | |||||||
> > |
Rename Access Restriction by Web | |||||||
You can define restrictions of who is allowed to do renames for a TWiki web. | ||||||||
Line: 77 to 80 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Read Access Restriction for a Whole TWiki Web | |||||||
> > |
Read Access Restriction by Web | |||||||
You can define restrictions of who is allowed to view a TWiki web. | ||||||||
Line: 85 to 88 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Notes for read access restriction: | |||||||
> > |
Read Access Restriction Notes | |||||||
| ||||||||
Line: 99 to 103 | ||||||||
| ||||||||
Deleted: | ||||||||
< < |
-- PeterThoeny - 16 Mar 2001 | |||||||
Changed: | ||||||||
< < |
NOTE: | |||||||
> > |
The SuperAdminGroup? | |||||||
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug). To avoid this:
| ||||||||
Line: 110 to 113 | ||||||||
| ||||||||
Added: | ||||||||
> > |
-- PeterThoeny - 16 Mar 2001 | |||||||
-- AndreaSterbini? - 11 Apr 2001 | ||||||||
Changed: | ||||||||
< < |
||||||||
> > |
||||||||
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups |
TWiki Access ControlTWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. | ||||||||
Line: 99 to 99 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
-- PeterThoeny - 16 Mar 2001 | |||||||
Changed: | ||||||||
< < |
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | |||||||
> > |
NOTE: | |||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 16 Mar 2001 | |||||||
> > |
The above schema can lock completely a topic in case of a typing error of the ALLOWTOPICCHANGE setting (see UnchangeableTopicBug). To avoid this:
$superAdminGroup = "TWikiAdminGroup";
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups |
TWiki Access ControlTWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. | ||||||||
Line: 50 to 51 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > |
Rename Access Restriction for Individual TopicsYou 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. Define one or both of these variables in a topic, preferably at the end of the topic:
* Set DENYTOPICRENAME = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
ALLOWTOPICRENAME defines users or groups that are allowed to rename the topic. It is a comma delimited list of users and groups. Example: * Set ALLOWTOPICRENAME = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
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.
Rename Access Restriction for a Whole TWiki WebYou can define restrictions of who is allowed to do renames for a TWiki web. Define one or both of these variable in the WebPreferences topic:
| |||||||
Read Access Restriction for a Whole TWiki WebYou can define restrictions of who is allowed to view a TWiki web. |
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Added: | ||||||||
> > |
TWiki Access Control | |||||||
TWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. IMPORTANT NOTE: Think twice before restricting read or write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because: | ||||||||
Line: 6 to 8 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Users and Groups | |||||||
> > |
Users and Groups | |||||||
Access control is based on users and groups. | ||||||||
Line: 22 to 24 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Write Access Restriction for Individual Topics | |||||||
> > |
Write Access Restriction for Individual Topics | |||||||
You can define restrictions of who is allowed to make changes to a topic or attach files to it. | ||||||||
Line: 36 to 38 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < |
Write Access Restriction for a Whole TWiki Web | |||||||
> > |
Write Access Restriction for a Whole TWiki Web | |||||||
You can define restrictions of who is allowed to make changes to a TWiki web. This includes creating new topics, changing topics or attaching files. | ||||||||
Line: 48 to 50 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Read Access Restriction for a Whole TWiki Web | |||||||
> > |
Read Access Restriction for a Whole TWiki Web | |||||||
You can define restrictions of who is allowed to view a TWiki web. | ||||||||
Line: 73 to 75 | ||||||||
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | ||||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 20 Jan 2001 | |||||||
> > |
-- PeterThoeny - 16 Mar 2001 |
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
Changed: | ||||||||
< < |
TWiki allows to define some restrictions of who is allowed to make changes and attach files to topics. | |||||||
> > |
TWiki allows you to define restrictions of who is allowed to view a TWiki web, make changes to topics or attach files. | |||||||
Changed: | ||||||||
< < |
IMPORTANT NOTE: Think twice before restricting write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because: | |||||||
> > |
IMPORTANT NOTE: Think twice before restricting read or write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because: | |||||||
| ||||||||
Line: 22 to 22 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Access Control for Individual Topics | |||||||
> > |
Write Access Restriction for Individual Topics | |||||||
Changed: | ||||||||
< < |
You can define some restrictions of who is allowed to make changes and attach files to a topic. | |||||||
> > |
You can define restrictions of who is allowed to make changes to a topic or attach files to it. | |||||||
Define one or both of these variables in a topic, preferably at the end of the topic:
| ||||||||
Line: 36 to 36 | ||||||||
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. | ||||||||
Changed: | ||||||||
< < |
Access Control per TWiki Web | |||||||
> > |
Write Access Restriction for a Whole TWiki Web | |||||||
Changed: | ||||||||
< < |
You can define some restrictions of who is allowed to make changes and attach files to topics or create new topics in a TWiki web. | |||||||
> > |
You can define restrictions of who is allowed to make changes to a TWiki web. This includes creating new topics, changing topics or attaching files. | |||||||
Define one or both of these variable in the WebPreferences topic:
| ||||||||
Line: 48 to 48 | ||||||||
| ||||||||
Added: | ||||||||
> > |
Read Access Restriction for a Whole TWiki Web
You can define restrictions of who is allowed to view a TWiki web.
Define one or both of these variable in the WebPreferences topic:
| |||||||
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | ||||||||
Changed: | ||||||||
< < |
-- PeterThoeny - 28 Oct 2000 | |||||||
> > |
-- PeterThoeny - 20 Jan 2001 |
You can define some restrictions of who is allowed to make changes and attach files to topics or create new topics in a TWiki web. | ||||||||
Changed: | ||||||||
< < |
Define one or both of these variable in the WebPreferences topic: | |||||||
> > |
Define one or both of these variable in the WebPreferences topic: | |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | |||||||
> > |
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | |||||||
-- PeterThoeny - 28 Oct 2000 |
TWiki allows to define some restrictions of who is allowed to make changes and attach files to topics. | ||||||||
Changed: | ||||||||
< < |
IMPORTANT NOTE: Is is recommended to use the access control feature only if absolutely necessary because it goes against the free WikiCulture, where everybody is invited to contribute to any topic. | |||||||
> > |
IMPORTANT NOTE: Think twice before restricting write access to a web or a topic, because an open system where everybody can contribute is the essence of the WikiCulture. Experience shows that unrestricted write access works very well because:
| |||||||
Users and Groups | ||||||||
Line: 44 to 48 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < |
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup | |||||||
> > |
Related topics: TWikiPreferences, WebPreferences (in every web), TWikiAdminGroup, TWikiGroups | |||||||
-- PeterThoeny - 28 Oct 2000 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
TWiki allows to define some restrictions of who is allowed to make changes and attach files to topics.
IMPORTANT NOTE: Is is recommended to use the access control feature only if absolutely necessary because it goes against the free WikiCulture, where everybody is invited to contribute to any topic.
Users and Groups
Access control is based on users and groups.
Users are defined by the user topics in the Main web, i.e. TWikiGuest
* Set DENYTOPICCHANGE = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
ALLOWTOPICCHANGE defines users or groups that are allowed to make changes to the topic. It is a comma delimited list of users and groups. Example: * Set ALLOWTOPICCHANGE = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
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.
Access Control per TWiki Web
You can define some restrictions of who is allowed to make changes and attach files to topics or create new topics in a TWiki web.
Define one or both of these variable in the WebPreferences topic:
|