Skip to content

Document Permission access

Choose a tag to compare

@pierre-yves-monnet pierre-yves-monnet released this 08 May 17:50
· 27 commits to master since this release

Access on parameters : in the pilot, the parameter has to be declare (else the "":"" return all parameters)
pilot on parameter : it's possible to declare "paramcontext" as a parameters, and give a context. Then, this context is use.
Priority is
- localcontext
- globalcontext
- paramcontext
Two advantages to use the paramcontext : 1/ it's not use any variable memory, 2/ it's available at the nstantiation, for example to protect the access on some parameters.

Dateformat configuration (Kilian Stein )

AccessRight : Check if user can access to what he asks
in the value, it' possible to use "data", "public", "actor", "initiator", "task" and "format"
Example
{
"firstname" : "data",
"comment": "initator;task:review",
"adresse" : {
"street" : "actor:Verify Adresse",
"city" : "actor:Verify Adresse",
}
}
Fix :
dateFormat bug (Kilian Stein )

--- Document Permission Rule : a Permission Rule is release. This rule will check on the document Download who can access the document, by loading the pilot.
Example :

   {
       "documentStudent" : "initiator;actor:medical",
       "documentTeacher" : "actor:teacher",
       "documentConclusion" : "public"
  }