CFO allows to specify Security access, Logs and Backups for the info. Inside the security property you can define access properties (user_privileges, user_organizations, user_spacenames) and behaviour properties (allow_{display, update, copy, insert, delete}).If any of the access properties returns true (OR relation) the user will have access. Also inside the security property you can add Logs of access and Backups for updates and for deletes.

CFO Security example

CFO Security example

"security": {
  "cfo_locked":true,
  "user_privileges": ["financial-admin","accounting-admin"],
  "user_organizations": ["cloudframework"],
  "user_groups": ["groups"],
  "user_spacenames": ["cloudframework"],
  "allow_delete": {
    "user_privileges": ["financial-admin"],
    "field_values": {
      "FinancialInvoice_Blocked": ["equals",""],
      "FinancialInvoice_FinancialInvoicesState_Id": ["not_equals",2]
    }
  },
  "allow_copy": {"user_privileges": ["financial-admin"]},
	"allow_display": {"user_privileges": ["financial-admin"]},
  "allow_update": {"user_privileges": ["financial-admin"],
    "field_values": {
      "FinancialInvoice_Blocked": ["equals",""]
    }},
  "allow_insert": {"user_privileges": ["financial-admin"]}
	**"logs":{"list":true,"display":true,"update":true,"delete":true},
	"backups":{"update":true,"delete":true}**
}

Replication Process

Access properties

Behaviour properties

Logs ♾️

The logs are accesible in your ERP platform under the URL: /app2020#<https://cloudfw.web.app/ajax/cfo.html?api=/cfi/CloudFrameWorkLogs&undefined>. More info in:

[CFS:Logs] this→core→cfiLog→add

Backups

Backups allow to make a backup of a CFO model for different behaviours: