Options for Users and Groups


Default Group and Changing Groups

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.


Access of Users to Data Stock of Groups

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:

Maximum Access Privileges of the User in the Group
No access User has no access to the data of the group
Read User only has read privileges in the data stock of the group.
Write User only has read and write privileges in the data stock of the group.
Delete User has all privileges in the data stock of the group.
Owner User is group leader. He has all privileges in the data stock of the group and can additionally change access-, owner-, and group settings of all the records, whose owners are members of the group.

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.


Special Users and Groups

User MANAGER and Group DATAVIEW
After delivery DataView contains the special user MANAGER and the special group DATAVIEW. Both are initialization objects. The MANAGER is practically the default developing user. It is required at the first start of DataView. The MANAGER has manager privilege and gets the DataView toolbar. MANAGERs default group is DATAVIEW. It is owner group of all meta data of an application managed within the DataView system masks, thus practically the default developer 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.

User SYSTEM and User GLOBAL
The user SYSTEM is the owner of all DataView-internal objects. Some internal objects, such as events and default values are displayed in the DataView system masks and identified as SYSTEM objects. You can modify these objects for your applications using a copy. This is user-specific. The user GLOBAL available here represents all users already created for your application with the exception of the user SYSTEM.


Determine Current User- or Group Name

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.