Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
On this page:
| ||||||||
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![]()
| |||||||
> > | 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: | ||||||||
> > | ||||||||
|