[gen] Bugfix: slave groups; bugfix: security check for pod fields; security bugfix for pod fields: write access to the field is required for performing any freeze-related action; migration to Appy 0.9.0: dump frozen pod fields on disk; repaired test system for Appy 0.9.0; more explicit error message when using, on some field, a specific write or read permission that is not used in the workflow.
This commit is contained in:
parent
61598b91f7
commit
b4e6333472
9 changed files with 66 additions and 39 deletions
|
@ -647,4 +647,8 @@ class ToolWrapper(AbstractWrapper):
|
|||
except Exception, e:
|
||||
failed.append(startObject)
|
||||
return nb, failed
|
||||
|
||||
def _login(self, login):
|
||||
'''Performs a login programmatically. Used by the test system.'''
|
||||
self.request.user = self.search1('User', noSecurity=True, login=login)
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -730,7 +730,7 @@ class AbstractWrapper(object):
|
|||
return res
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s appyobj at %s>' % (self.klass.__name__, id(self))
|
||||
return '<%s at %s>' % (self.klass.__name__, id(self))
|
||||
|
||||
def __cmp__(self, other):
|
||||
if other: return cmp(self.o, other.o)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue