Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The objectactions was introduced in

Status
title2021.6.0
but is disabled by default. It superseded the objectdata domain in order to be more precise regarding the actions the user can perform

When the domain "objectactions" is not activated then the system uses "objectdata" rules to decide if the buttons “create” / “delete” / “order” will be shown to the user.

The domain "objectactions" is there to replace complement the domain "objectdata" only when the question is about a future action on the object.

When the domain "objectactions" is not activated then the system uses "objectdata" to answer the future questions.

As soon as it is activated then it is used for future questions and "objectdata" for savingwhen the instance does not exist yet, or the action is not run yet. This is oriented to showing or not the UI buttons that lead to the future actions.

  • For example, to decide if the user will have a “new” button the “objectactions/create” rules will be run.

  • When the user actually save the new instance, the “objectdata/insert” rules will be run.

  • For example, to decide if the button “bulk update” will be shown to the user, the “objectactions/multiupdate” will be run.

  • When the user execute the bulk actions, the system check against the “objectdata/update” rules before actually updating the data.

In this domain, the new security rules available are :

  • create: can a new instance of this object be created ?

  • delete: can an instance of this object be deleted ?

  • order: can the instances of this object be ordered ?

  • multiupdate: si the bulk update function available ?

  • datavaluespicker: is it possible to pick some content to past on new instance or during multi-update ?

  • damimport: is it possible to bulk import via damimport ?

  • massimport: is it possible to bulk import directly in the object ?

  • i18nFieldsTranslate (since

    Status
    title2022.5.0
    ): is it possible to open the i18n translation screen ?