diff src/server/constants.py @ 605:917e271975d9 frontends_multi_profiles

server + browser side: implementation of new getEntitiesData bridge method + added a security check: only a white list of entities can be gotten
author Goffi <goffi@goffi.org>
date Mon, 09 Feb 2015 21:46:15 +0100
parents db1b330c1eb1
children 9877607c719a
line wrap: on
line diff
--- a/src/server/constants.py	Fri Feb 06 17:53:01 2015 +0100
+++ b/src/server/constants.py	Mon Feb 09 21:46:15 2015 +0100
@@ -44,3 +44,6 @@
 
     # Security limit for Libervia server_side
     SERVER_SECURITY_LIMIT = constants.Const.NO_SECURITY_LIMIT
+
+    # keys for cache values we can get from browser
+    ALLOWED_ENTITY_DATA = {'avatar', 'nick'}