avoid ForbiddenAttribute error on update via management interface
This commit is contained in:
parent
abae2c2bb3
commit
b1c8465219
1 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2008 Helmut Merz helmutm@cy55.de
|
||||
# Copyright (c) 2014 Helmut Merz helmutm@cy55.de
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -18,8 +18,6 @@
|
|||
|
||||
"""
|
||||
Interface definitions for tracking of user interactions.
|
||||
|
||||
$Id$
|
||||
"""
|
||||
|
||||
from zope.interface import Interface, Attribute
|
||||
|
@ -50,6 +48,12 @@ class ITrack(Interface):
|
|||
# """ Return the internal name (ID) of the track.
|
||||
# """
|
||||
|
||||
def update(newData, overwrite=False):
|
||||
""" Update the track with new data, by default creating a new
|
||||
track. Overwrite the existing track if the corresponding
|
||||
flag is set.
|
||||
"""
|
||||
|
||||
|
||||
class ITrackingStorage(Interface):
|
||||
""" A utility for storing user tracks.
|
||||
|
|
Loading…
Add table
Reference in a new issue