Quantcast

Get Permissions for Orbeon 2016.x

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Get Permissions for Orbeon 2016.x

bruno.buzzi
Alex,Erik,

Example:
FormDefinition v1 --> 10 instances (no permissions defined)
FormDefinition v2 --> 20 instances (permissions defined)

When accessing the Summary of this form, the first 10 instances (v1) should be displayed directly or should be filtered using permissions defined in v2 ?

In previus versions of Orbeon the last defined permissions were used for all instances. But now a previus version can be republished (updating permissions).

The latest permissions should be used to all instances or each instance should be checked against its own definition ?

regards,
bruno
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Get Permissions for Orbeon 2016.x

Alessandro  Vernet
Administrator
Hi Bruno,

For the summary page, the permissions on the latest published form are use. Instead, I think it would make more sense for each data to use the permissions of the corresponding form definition version. Is this where you were going?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Get Permissions for Orbeon 2016.x

bruno.buzzi
Alex,

I just want to confirm the rule to know if my persistence layer is working as it should.

Well we can argue what is better ...

To use the permissions of the corresponding form definition is the logical rule, but from an operational point of view maybe a little confusing. Also form instances summaries does NOT have a column to show the version. So how to know the version of a particular instances in order to check if permissions are correct...

To me for now the current rule is OK. I do not know what others Orbeon users think...

regards
bruno
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Get Permissions for Orbeon 2016.x

Alessandro  Vernet
Administrator
Hi Bruno,

I'm glad that the way things work now is OK for you. I think that only using the latest version of the form definition in the context of the summary page is especially problematic when you'd like on the summary page to show different fields for different versions, but somehow we haven't seen this scenario happen all too often in practice.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Loading...