summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b897ec)
raw | patch | inline | side by side (parent: 2b897ec)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Jul 2002 03:07:37 +0000 (03:07 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 8 Jul 2002 03:07:37 +0000 (03:07 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@825 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/security.txt | patch | blob | history |
diff --git a/doc/security.txt b/doc/security.txt
index d63f0eda2000ddc66618219457a8f46a3ec6b160..356a24be9af11e44981346b602016e9358ee720f 100644 (file)
--- a/doc/security.txt
+++ b/doc/security.txt
Security Mechanisms
===================
-:Version: $Revision: 1.3 $
+:Version: $Revision: 1.4 $
Current situation
=================
in init():
- r = db.getclass('role').find('Admin')
+ r = db.getclass('role').lookup('Admin')
user.create(username="admin", password=Password(adminpw),
address=instance_config.ADMIN_EMAIL, roles=[r])
# choose your anonymous user access permission here
- #r = db.getclass('role').find('No Rego')
- r = db.getclass('role').find('User')
+ #r = db.getclass('role').lookup('No Rego')
+ r = db.getclass('role').lookup('User')
user.create(username="anonymous", roles=[r])