~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnAutoAdmin/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Please edit system and help pages ONLY in the moinmaster wiki! For more
2
 
## information, please see MoinMaster:MoinPagesEditorGroup.
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
3
3
##master-page:HelpOnAutoAdmin
4
4
##master-date:Unknown-Date
5
 
#acl MoinPagesEditorGroup:read,write,delete,revert All:read
 
5
#acl -All:write Default
6
6
#format wiki
7
7
#language en
8
8
 
9
 
The security policy `autoadmin` included in MoinMoin distribution (but NOT active by default, see below) is useful when you want to automatically and implicitely give some users or user groups  `admin` rights on some pages.
 
9
The security policy `autoadmin` included in MoinMoin distribution (but NOT activated by default, see below) is useful when you want to automatically and implicitly give some users or user groups `admin` rights on some pages.
10
10
 
11
 
Having `admin` rights means to be able to create or change ACLs, see HelpOnAccessControlLists.
 
11
Having `admin` rights means being able to create or change ACLs, see HelpOnAccessControlLists.
12
12
 
13
13
= AutoAdmin usage =
14
 
== for a personal homepage ==
15
 
See if there is a HomepageTemplate with a prepared ACL line and some other magic already on it.
 
14
== For a personal homepage ==
 
15
Check if there is a HomepageTemplate with prepared ACL lines or some other already-configured configuration settings.
16
16
 
17
 
It is a good idea to have your homepage read- and writeable for everybody as a means of open communication.
 
17
It is important to ensure your homepage is easily readable and writeable so it can be used as an open form of communication by everyone. 
18
18
       
19
 
For creating personal (or private) subpages of your homepage, it is the easiest way to use the My``Pages action. It will show some form to you, enabling easy creation of those pages.
 
19
The easiest way to create personal (or private) subpages for your homepage is to use the My``Pages action. 
20
20
 
21
21
Alternatively you can also do it manually, using the ReadWritePageTemplate, ReadPageTemplate or PrivatePageTemplate. They usually have some prepared ACL line on them, e.g.:
22
22
{{{
24
24
}}}
25
25
That @``ME@ in the template will be expanded to your name when saving, so those 2 subpages (`YourName/ReadWriteGroup` and `YourName/ReadGroup`) of your homepage will be used for allowing read/write or read-only access.
26
26
 
27
 
Now you only have to maintain those 2 subpages of your homepage (maybe they even have been auto- created for you) and put the people on them for allowing them access.
 
27
Now you only have to maintain those two subpages of your homepage (maybe they even have been auto-created for you) and put the people on them for allowing them access.
28
28
 
29
 
== for a project page ==
 
29
== For a project page ==
30
30
See if there is some `<ProjectName>Template` with a prepared ACL line for your project pages and use it for creating new subpages.
31
31
 
32
32
Use `<ProjectName>/ReadWriteGroup` and `<ProjectName>/ReadGroup` etc. as you would do for a homepage (see above).
36
36
Add this to your wiki's configuration file:
37
37
 
38
38
{{{
39
 
    from MoinMoin.util.autoadmin import SecurityPolicy
 
39
    # indent the line below like your other settings:
 
40
    from MoinMoin.security.autoadmin import SecurityPolicy
40
41
}}}
41
42
 
42
 
Create an AutoAdminGroup page. If you don't know better, create an empty page for starting.
 
43
Create an AutoAdminGroup page. It is usually a good idea to create an empty page for this.
43
44
 
44
45
That page (and also other group pages used with autoadmin, see below) should be ACL protected with write access limited to allowed people. They are used as source for some ACL information and thus should be treated like the ACLs they get fed into.
45
46