orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
518 stars 220 forks source link

Permissions based on field value #1487

Open ebruchez opened 10 years ago

ebruchez commented 10 years ago

Use case: permissions based on workflow state (but can also be any data).

This should also enable handling Form Builder permissions without custom logic (but still using form-builder-permissions.xml for backward compatibility), except some FB-specific UI aspects.

Extension: standard way of storing workflow-state, workflow-id.

avernet commented 9 years ago

The Form Builder permissions UI

Completely change to match the structure of the XML, which is more flexible:

A constraint on a field value translates in the same constraint used right now by the summary page when doing a search on a field.

Persistence

avernet commented 9 years ago

+1 from customer

ebruchez commented 8 years ago

With #649 implemented, performance should not be an issue, as long as the index includes values on which permissions depend.

If permissions are defined in the form definition itself, this is easy to figure out, but if permissions are defined and changed via properties, a reindex might be needed, OR the permissions will not work.

ebruchez commented 8 years ago

The syntax for #1860 will also need to support checking on values.