Mercurial > libervia-web
diff libervia.tac @ 229:e632f77c4219
bridge: asyncGetParamA takes a security_limit argument
browser_side: added support for user param of type "list"
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 08 Oct 2013 13:48:00 +0200 |
parents | 36673d19c87e |
children | b304cdf13a3b |
line wrap: on
line diff
--- a/libervia.tac Tue Oct 08 13:35:29 2013 +0200 +++ b/libervia.tac Tue Oct 08 13:48:00 2013 +0200 @@ -410,6 +410,12 @@ return d + def jsonrpc_asyncGetParamA(self, param, category, attribute="value"): + """Return the parameter value for profile""" + profile = ISATSession(self.session).profile + d = self.asyncBridgeCall("asyncGetParamA", param, category, attribute, SECURITY_LIMIT, profile_key=profile) + return d + def jsonrpc_setParam(self, name, value, category): profile = ISATSession(self.session).profile if category in self.authorized_params and name in self.authorized_params[category]: