diff --git a/roundup/xmlrpc.py b/roundup/xmlrpc.py
index 86c8f992b207e443bacbd101311b16c3b209bae2..b0495d07018aad4def9a220a9abac6f5e15f1b09 100644 (file)
--- a/roundup/xmlrpc.py
+++ b/roundup/xmlrpc.py
raise UsageError, 'you must provide the "%s" property.'%key
for key in props:
- if not self.db.security.hasPermission('Edit', self.db.getuid(), classname,
- property=key):
- raise Unauthorised('Permission to set %s.%s denied'%(classname, key))
+ if not self.db.security.hasPermission('Create', self.db.getuid(),
+ classname, property=key):
+ raise Unauthorised('Permission to create %s.%s denied'%(classname, key))
# do the actual create
try: