Skip to content

Commit 22c9c25

Browse files
author
Richard Jones
committed
Some more documentation.
1 parent 869472a commit 22c9c25

File tree

1 file changed

+43
-10
lines changed

1 file changed

+43
-10
lines changed

doc/index.html

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ <h1>Contents</h1>
2121
<li><a href="#startcmd">Command Line Tool</a>
2222
<li><a href="#startweb">E-Mail Interface</a>
2323
<li><a href="#startweb">Web Interface</a>
24-
<li><a href="#users">Users</a>
24+
<li><a href="#users">Users</a> (Users and permissions, Adding users)
2525
<li><a href="#issues">Issues</a>
2626
</ul>
2727
<li><a href="#guide">User Guide</a>
2828
<ul>
2929
<li><a href="#cmd">Command Line Tool</a>
3030
<li><a href="#web">Web Interface</a>
31-
<li><a href="#mail">E-Mail Gateway</a>
31+
<li><a href="#mail">E-Mail Gateway</a> (Message content summary, Address handling, Performing Actions)
3232
</ul>
3333
<li><a href="#custom">Customising Roundup</a>
3434
<ul>
3535
<li><a href="#config">Instance Configuration</a>
36-
<li><a href="#custinst">Instance Schema</a>
37-
<li><a href="#custweb">Web Interface</a>
36+
<li><a href="#custinst">Instance Schema</a> (Creating a new information store)
37+
<li><a href="#custweb">Web Interface</a> (Displaying properties, Index views, Item views)
3838
</ul>
3939
<li><a href="spec.html">Roundup's Design Document</a> ("Implementation Guide")
4040
<li><a href="#ack">Acknowledgements</a>
@@ -215,6 +215,39 @@ <h2><a name="startweb">Web Interface</a></h2>
215215

216216

217217
<h2><a name="users">Users</a></h2>
218+
219+
<h3>Users and permissions</h3>
220+
By default, roundup automatically creates one user when the instance
221+
database is initialised (using roundup-admin init). The user is "admin" and
222+
the password is the one you supply at that time.
223+
<p>
224+
If users attempt to use roundup in any manner and are not identified to
225+
roundup, they will be using the database in a read-only mode. That is, if
226+
roundup doesn't know who they are, they can't change anything. This has the
227+
following repurcussions:
228+
<dl>
229+
<dt><strong>Command-line interface</strong>
230+
<dd>The data modification commands (create, init, retire, set) are not
231+
available without a login, and if one is not supplied on the command line
232+
(-u user:pass) then it will be prompted for.
233+
<dt><strong>E-Mail interface</strong>
234+
<dd>Users are identified by e-mail address - a new user entry will be
235+
created for any e-mail address that is not recognised, so users are
236+
<em>always</em> identified by roundup.
237+
<dt><strong>Web interface</strong>
238+
<dd>Unidentified users have read-only access. If the users database has an
239+
entry with the username "anonymous", then unidentified users are
240+
automatically logged in as that user. This gives them write access.
241+
</dl>
242+
<p>
243+
There has been only a half-hearted attempt to restrict certain activities
244+
to the "admin" user. For example, the "extended" schema web interface enables
245+
some fnuctionality for the "admin" user. On the fil-side, it is possible to
246+
obtain the admin user's password using the read-only access on the command
247+
line (it would also be possible to access the database files directly to
248+
obtain this information).
249+
250+
<h3>Adding users</h3>
218251
To add users, use one of the following interfaces:
219252

220253
<ol>
@@ -415,14 +448,14 @@ <h2><a name="mail">E-Mail Gateway</a></h2>
415448
subpart and ignore the other parts.
416449
</ul>
417450

418-
<h3>Summary</h3>
451+
<h3>Message content summary</h3>
419452
The "summary" property on message nodes is taken from the first non-quoting
420453
section in the message body. The message body is divided into sections by
421454
blank lines. Sections where the second and all subsequent lines begin with
422455
a "&gt;" or "|" character are considered "quoting sections". The first line of
423456
the first non-quoting section becomes the summary of the message.
424457

425-
<h3>Addresses</h3>
458+
<h3>Address handling</h3>
426459
All of the addresses in the To: and Cc: headers of the incoming message are
427460
looked up among the user nodes, and the corresponding users are placed in
428461
the "recipients" property on the new "msg" node. The address in the From:
@@ -434,7 +467,7 @@ <h3>Addresses</h3>
434467
register an auditor on the "user" class that prevents the creation of user
435468
nodes with no passwords.
436469

437-
<h3>Actions</h3>
470+
<h3>Performing Actions</h3>
438471
The subject line of the incoming message is examined to determine whether
439472
the message is an attempt to create a new item or to discuss an existing
440473
item. A designator enclosed in square brackets is sought as the first thing
@@ -640,7 +673,7 @@ <h3>Class, FileClass, IssueClass - creating a new information store</h3>
640673
and last records in the item's journal). The "creator" property holds a
641674
link to the user that created the issue.
642675

643-
<h3>setkey(property)</h3>
676+
<h4>setkey(property)</h4>
644677
Select a String property of the class to be the key property. The key
645678
property muse be unique, and allows references to the items in the class by
646679
the content of the key property. That is, we can refer to users by their
@@ -657,7 +690,7 @@ <h3>setkey(property)</h3>
657690
<p>
658691
Note, the same thing can be done in the web and e-mail interfaces.
659692

660-
<h3>create(information)</h3>
693+
<h4>create(information)</h4>
661694
Create an item in the database. This is generally used to create items in
662695
the "definitional" classes like "priority" and "status".
663696

@@ -1038,7 +1071,7 @@ <h1><a name="ack">Acknowledgements</a></h1>
10381071

10391072
<p>&nbsp;</p>
10401073
<hr>
1041-
$Id: index.html,v 1.7 2001-10-01 06:30:23 richard Exp $
1074+
$Id: index.html,v 1.8 2001-10-05 02:44:06 richard Exp $
10421075
<p>&nbsp;</p>
10431076

10441077
</body></html>

0 commit comments

Comments
 (0)