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
514 stars 220 forks source link

Add `created_by` column #5734

Open ebruchez opened 1 year ago

ebruchez commented 1 year ago

After discussion, out of symmetry, we'd like to add a created_by column.

So far, the username is used for that, but the meaning of that is of being an "owner", and we'd like to change the concepts. In addition, in case historical data is purged, we'd like this to be part of the current database row.

We also discussed the idea that there could be multiple "user roles" in the future, not only "owner". That would require a new table. That is not covered by this RFE.

ebruchez commented 1 year ago

Q: Do we also need created_time?

ebruchez commented 1 year ago
ebruchez commented 1 year ago

Backward compatibility considerations:

ebruchez commented 1 year ago

Consider: should we add a "Creator" permission, for example the current user can read/update/delete data if she is the Creator (vs. Owner)?

ebruchez commented 2 months ago

See also customer

ebruchez commented 2 months ago

Related, there could (should) be an API to change the owner.