Skip to content

What each user can edit#

The same form does not let all its users do the same. What each one reads and what each one changes is decided by their privileges, their universes and what they see of the metadata. The server always checks it, also when the changes are submitted: disabled buttons are only a reflection of those rules.

What each privilege decides#

The metadata administrator gives each fact table three edit privileges (insert, modify and delete records) and each dimension an edit privilege. You receive them through your roles.

To You need What you can write
Read the records To be able to open the workbook and see the dimensions of the form Nothing.
Change a record The privilege to modify records of the table The editable fields: those of a dimension without a function that you see and whose edit privilege you have. The primary key of a record that already exists is never changed.
Add a record The privilege to insert records in the table The editable fields and the primary key. The privilege to modify is not needed.
Delete a record The privilege to delete records of the table and of each open detail table, because their records are deleted with it Nothing: the whole record.

What you cannot do shows in the form:

  • Insert, Duplicate or Delete are disabled if you lack their privilege on the table.
  • The cells you cannot change do not enter editing, and in the columns view they are shown as text.
  • If you cannot change a long text, its editor opens only for reading it.

For example, in the demo the user postventa changes and adds customers and incidents but does not delete them, and comercial.norte sees their customers but cannot change them.

Note

If you think you should be able to change something and you cannot, ask the administrator to review the edit privileges of the table and of the dimension, and your roles. To change the key of a record, delete it and add another.

Universes#

Your universes limit the records the form reads, just as in cubes: a sales representative of the North only sees the customers of the North. When writing, the same rules apply:

  • You only change and delete records you see.
  • An insert or a change that would leave the record outside your universes is not saved: the submission marks it with “It would fall outside your universes”.
  • When you delete a master, its detail records that you cannot see are not deleted. If the database does not let the master be deleted without them, the submission fails with “Violates an integrity rule”.

Fields you cannot see#

Each dimension has an access privilege. If a form uses a dimension you cannot see:

  • Its field does not appear in the form and is not read from the database. Below the header, a warning says how many are missing, without naming them: “This document is shown without 1 dimension you do not have access to.”. Why? explains it.
  • You can keep reading and editing the fields you see, and submit the changes.
  • The design of the form is read-only for you: Save design is disabled, with the tooltip “It uses data you do not have access to”. The wizard opens, but warns that you will not be able to save it.
  • If a field you cannot see has a next-value SQL, it is not shown to you in a new record: the server sets the value when saving.

The form stops working for you, and shows “You cannot see this document”, if no field you can see remains or if the segmentation of the section uses a dimension you cannot see.

The segmentation of the section#

The segmentation decides which records are read, not what can be written. A record that changes and stops meeting the segmentation is saved anyway, and when the form is read again it no longer appears. For example, in “Incidencias abiertas”, when you set the closing date of an incident, it is saved and disappears from the list.

See also#