--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_security/interfaces/profile.py Thu Oct 08 09:28:33 2015 +0200
@@ -0,0 +1,36 @@
+#
+# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+
+# import standard library
+
+# import interfaces
+
+# import packages
+from pyams_file.schema import ThumbnailImageField
+from zope.interface import Interface
+
+from pyams_security import _
+
+
+PUBLIC_PROFILE_KEY = 'pyams_security.public_profile'
+
+
+class IPublicProfile(Interface):
+ """User public profile preferences"""
+
+ avatar = ThumbnailImageField(title=_("Profile's avatar"),
+ description=_("This picture will be associated to your user profile"),
+ required=False)
+