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
This commit is contained in:
souliane 2013-09-05 20:28:44 +02:00
commit 7652fd3a15

View file

@ -436,32 +436,38 @@ doc_param_3=%(doc_profile_key)s
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