diff src/bridge/bridge_constructor/bridge_template.ini @ 634:ca2cae6b2c6d

core: security attribute added to the parameters - getParams, getParamsUI and getParamsForCategory have a security_limit parameter to filter - parameters with security = 0 can be retrieved/modified from Libervia
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 20:28:44 +0200
parents 952322b1d490
children 7ea6d5a86e58
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Sun Sep 08 18:05:19 2013 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Thu Sep 05 20:28:44 2013 +0200
@@ -436,32 +436,38 @@
 async=
 type=method
 category=core
-sig_in=s
+sig_in=is
 sig_out=s
-param_0_default="@DEFAULT@"
+param_0_default=-1
+param_1_default="@DEFAULT@"
 doc=Return a SàT XMLUI for parameters
-doc_param_0=%(doc_profile_key)s
+doc_param_0=security_limit: -1 means no security then the higher the most secure
+doc_param_1=%(doc_profile_key)s
 
 [getParams]
 async=
 type=method
 category=core
-sig_in=s
+sig_in=is
 sig_out=s
-param_0_default="@DEFAULT@"
+param_0_default=-1
+param_1_default="@DEFAULT@"
 doc=Return XML of parameters
-doc_param_0=%(doc_profile_key)s
+doc_param_0=security_limit: -1 means no security then the higher the most secure
+doc_param_1=%(doc_profile_key)s
 
 [getParamsForCategory]
 async=
 type=method
 category=core
-sig_in=ss
+sig_in=sis
 sig_out=s
-param_1_default="@DEFAULT@"
+param_1_default=-1
+param_2_default="@DEFAULT@"
 doc=Return a xml of all params in a category
 doc_param_0=category: Category to get
-doc_param_1=%(doc_profile_key)s
+doc_param_1=security_limit: -1 means no security then the higher the most secure
+doc_param_2=%(doc_profile_key)s
 
 [getParamsCategories]
 type=method