summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b271d05)
raw | patch | inline | side by side (parent: b271d05)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 9 Dec 2002 02:37:20 +0000 (02:37 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 9 Dec 2002 02:37:20 +0000 (02:37 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1391 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/customizing.txt | patch | blob | history | |
doc/installation.txt | patch | blob | history | |
doc/user_guide.txt | patch | blob | history |
diff --git a/doc/customizing.txt b/doc/customizing.txt
index 5053b66c4d39193314af8f1abab8d3806fd2b6af..d67e395895341bfa14bb1f1deca2daa94ea0f960 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.62 $
+:Version: $Revision: 1.63 $
.. This document borrows from the ZopeBook section on ZPT. The original is at:
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
the create() methods.
**Changing content after tracker initialisation**
- Use the roundup-admin interface's create, set and retire methods to add,
- alter or remove items from the classes in question.
+ As the "admin" user, click on the "class list" link in the web interface
+ to bring up a list of all database classes. Click on the name of the class
+ you wish to change the content of.
+ You may also use the roundup-admin interface's create, set and retire
+ methods to add, alter or remove items from the classes in question.
See "`adding a new field to the classic schema`_" for an example that requires
database content changes.
normal "User" Role minus the "Web Access" Permission. This will allow users
to send in emails to the tracker, but not access the web interface.
+**let some users edit the details of all users**
+ Create a new Role called "User Admin" which has the Permission for editing
+ users::
+
+ db.security.addRole(name='User Admin', description='Managing users')
+ p = db.security.getPermission('Edit', 'user')
+ db.security.addPermissionToRole('User Admin', p)
+
+ and assign the Role to the users who need the permission.
+
Web Interface
=============
`hyperdb class wrapper`_ or a `hyperdb item wrapper`_
**request**
Includes information about the current request, including:
- - the url
- the current index information (``filterspec``, ``filter`` args,
``properties``, etc) parsed out of the form.
- methods for easy filterspec link generation
Attribute Description
=============== =============================================================
_name the name of the property
-_value the value of the property if any
+_value the value of the property if any - this is the actual value
+ retrieved from the hyperdb for this property
=============== =============================================================
There are several methods available on these wrapper objects:
=========== =================================================================
form the CGI form as a cgi.FieldStorage
env the CGI environment variables
-url the current URL path for this request
base the base URL for this tracker
user a HTMLUser instance for this user
classname the current classname (possibly None)
diff --git a/doc/installation.txt b/doc/installation.txt
index 8900833d8a190c30ff2b6bb8d1250eea518203a2..1ad0333afff32d31c2c20e47c3f949bde56d6055 100644 (file)
--- a/doc/installation.txt
+++ b/doc/installation.txt
Installing Roundup
==================
-:Version: $Revision: 1.36 $
+:Version: $Revision: 1.37 $
.. contents::
------------------------
1. To install the Roundup support code into your Python tree and
- Roundup scripts into /usr/local/bin. You need to have write permissions
+ Roundup scripts into /usr/local/bin (substitute that path for whatever is
+ appropriate on your system). You need to have write permissions
for these locations, eg. being root on unix::
python setup.py install
echo test |mail -s '[issue] test' support@YOUR_DOMAIN_HERE
-As a regular cron job using a mailbox source
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+As a regular job using a mailbox source
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Set ``roundup-mailgw`` up to run every 10 minutes or so. For example::
@@ -330,16 +331,18 @@ Where the ``mail_spool_file`` argument is the location of the roundup submission
user's mail spool. On most systems, the spool for a user "issue_tracker"
will be "``/var/mail/issue_tracker``".
-As a regular cron job using a POP source
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+As a regular job using a POP source
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-To retrieve from a POP mailbox, use a similar cron entry to the mailbox one::
+To retrieve from a POP mailbox, use a *cron* entry to the mailbox one::
10 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support pop <pop_spec>
-
+
where pop_spec is "``username:password@server``" that specifies the roundup
submission user's POP account name, password and server.
+On windows, you would set up the command using the windows scheduler.
+
Shared Environment Steps
------------------------
diff --git a/doc/user_guide.txt b/doc/user_guide.txt
index f7a97a44f58e1f0a3da8d013a31a02e6dbf0c76d..a79c47c818b0e10816d8795ae7e77b7950cc86a9 100644 (file)
--- a/doc/user_guide.txt
+++ b/doc/user_guide.txt
User Guide
==========
-:Version: $Revision: 1.11 $
+:Version: $Revision: 1.12 $
.. contents::
Access Controls
---------------
-XXX
+User access is controlled through Permissions. These are are grouped into
+Roles, and users have a comma-separated list of Roles assigned to them.
+
+Permissions divide access controls up into answering questions like:
+
+- may the user edit issues ("Edit", "issue")
+- is the user allowed to use the web interface ("Web Access")
+- may the user edit other user's Roles through the web ("Web Roles")
+
+Any number of new Permissions and Roles may be created as described in the
+customisation documentation. Examples of new access controls are:
+
+- only managers may sign off issues as complete
+- don't give users who register through email web access
+- let some users edit the details of all users
E-Mail Gateway
Back to `Table of Contents`_
.. _`Table of Contents`: index.html
-
+.. _`customisation documentation`: customizing.html