The default group is the group a user usually works in. It is set in the user-group relation with the default flag D. Please note that each user may only have one default group. When DataView is started, a user automatically works in this assigned default group. If he is a manager or a member in further groups, he can change his current group assignment using the Group Assignment function in the DataView settings toolbar. You can make this function available to end-users without access to the manager toolbars using the standard menu userexit prt_mod_grp, e.g. in a pull-down menu at the top menu.
During the group assignment every user gets a maximum access privilege in the access flag A of the user-group relation. Thus you can assign group members a reduced access to the data stock of the group are grant a group leader status to special users. The data stock of the group means all records created by other members of the group (i.e. whose owners are other members of the group). The following maximum access privileges can be set:
Example: Users, groups and maximum access privileges to data stock of the group at meditronic could be defined as follows:
In the group Construction the chief designer is the owner. It is his default group. He can edit all construction data without any limitations. In the group Production he has the delete privilege, e.g. to update mounting lists. The workers in the production department my only read these lists. In the Sales group the Sales Manager is the owner. It is her default group. She can edit all sales data without any limitations. This means she is also allowed to define the access privileges of her sales assistant, who presently is only allowed to read and write, but not to delete sales data. Because the Sales Manager has to see construction data from time to time, she is a member with read privilege in the Construction group.
Note! After the first start of DataView you should create at least one own user with manager privilege (developing user). After that you should no longer use the user MANAGER. Please note that all your developing users must be members of the group DATAVIEW (maximum access privilege d = delete), irrespective of the developer groups you create additionally.
You can determine the current user- or group name. It is automatically entered by DataView as the default value in mask fields if users enter new records. To do so, enter the macros @USER or @GROUP in the Default Value field of the field master or in the Default Value-M field of the mask-field-default relation.