summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15e9428)
raw | patch | inline | side by side (parent: 15e9428)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 14 Jul 2002 23:16:52 +0000 (23:16 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 14 Jul 2002 23:16:52 +0000 (23:16 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@877 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/security.txt | patch | blob | history |
diff --git a/doc/security.txt b/doc/security.txt
index 2d6906ee1ae394dcc64ee485b1faf35903a85d4c..12aadd2b26b44d3671ede8f5dd5ae2daf5b8569d 100644 (file)
--- a/doc/security.txt
+++ b/doc/security.txt
Security Mechanisms
===================
-:Version: $Revision: 1.5 $
+:Version: $Revision: 1.6 $
Current situation
=================
description="User may log in through email")
mr = perm.create(name="Mail Registration",
description="User may register through email")
- aa = perm.create(name="Access Everything",
+ ae = perm.create(name="Access Everything",
description="User may access everthing")
role.create(name="User", description="A regular user, no privs",
permissions=[wa, wr, ma, mr])
role.create(name="Admin", description="An admin user, full privs",
- permissions=[aa])
- ro = role.create(name="No Rego", description="A user who can't register",
- permissions=[wa, ma])
+ permissions=[ae])
+ role.create(name="No Rego", description="A user who can't register",
+ permissions=[wa, ma])
in init():
r = db.getclass('role').lookup('User')
user.create(username="anonymous", roles=[r])
+Then in the code that matters, calls to ``hasPermission`` are made to
+determine if the user has permission to perform some action.
+
Authentication of Users
-----------------------
real credentials (username/password) around for each request (this means
sessions and hence a session database)
- use the new logical control mechanisms
+ - implement the permission module
+ - implement a Role editing interface for users
+ - implement htmltemplate tests on permissions
+ - switch all code over from using config vars for permission checks to using
+ permissions
+ - include config vars for initial Roles for anonymous web, new web and new
+ email users
The mail gateway must be changed to:
- use digital signatures
- use the new logical control mechanisms
-
+ - switch all code over from using config vars for permission checks to using
+ permissions
+
The command-line tool must be changed to:
- use the new logical control mechanisms (only allowing write