Páginas filhas
  • Configure user level for viewing fields

How to configure field views for certain users

Product:

Microsiga Protheus

Versions:

11 and 12

Step by step:

User levels are for you to control users viewing the fields. The levels range from 1 to 9. For example, if a user has Level 3 in the Purchase menu, they can view fields that are level 3 or less. If a field is level 4 or 5, it will not visible to the user. IMPORTANT: this does not apply to mandatory fields. Mandatory fields will always be visible.

To configure user and field levels, follow the procedure below.

In the example, a certain field is set to not appear in the routine for this user because the field will have a level higher than the level configured for the user.



IN USER/GROUP

- Access Configurator > User > Passwords > Users (or Configurator > User > Passwords > Groups).

- Click on the user/group and click on Change.

- Access the Access Restrictions/Environments tab.

- In the selected module, go to the Level column.

- Click twice in the field to change the user level (ex: Level=3).

- Click Confirm.



IN FIELD

- Access Configurator > Database>  Dictionary > Databases.

- Click Data Dictionary, and locate the table that contains the fields you want to configure

- Click on the table and click Edit.




- Expand the table, click Fields, and locate the field you want to configure.

- In the Validations tab, change the field level to a number higher than the user level (ex: Level=4).

- Click Save, then Confirm.

- For this field change to take effect, you must update the database. In exclusive mode (no user can be accessing the tables involved), click the Update Database icon.



- Click Next until Finish, confirming the update of the edited fields

- As in the example above, the user/group will not see the A1_CEP field in the routine.

Notes:

- This rule is valid only for fields that are not mandatory. Mandatory fields do not respect the access levels and they will always be displayed.

- The Global Field Level field is used only for the Protheus Search tool. 

Notes: