PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Configure the application
  • Managing the users
  • Notes
  • Managing the rights
  • Special case: the supervisor does not have access to the window templates
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 18, the user groupware evolves. This help page corresponds to the user groupware kept for backward compatibility. To get the help regarding the new version of user groupware, see User Groupware.
Configure the application
The user groupware is configured by the supervisor of the application. This setting consists in creating users and groups of users, and in granting them specific rights for each control found in each window or page of the application. These rights are used to gray controls, groups of controls or menu options, and to make them visible or invisible.
To configure the user groupware, you must:
  1. Start the application (executable or test from WINDEV or WEBDEV) and connect as supervisor:
    • Name: SUPERVISOR
    • Password: SUPERVISOR
  2. Select "Configuring the groupware".
Managing the users
To create a new user, you must specify:
  • the last name of user (mandatory)
  • the first name of user
  • the login of user. This login corresponds to the identifier of the user when he connects to the application.
  • the password of user. This password is optional and it can be entered by the user himself during his first login (check the corresponding option).
The user can be defined as being a supervisor of the application.
You also have the ability to modify or delete a user. When deleting a user, you have the ability to delete the entire user or to delete his rights only.
The users can be grouped. When creating a group, you have the ability to copy the rights that were previously defined for another group or user.
A group can be created or deleted. When deleting a group, you have the ability to delete the group and its users or to delete the group only. In this case, the users are no longer associated with a group.

Notes

  • The supervisor password should be changed during the first use.
  • The "Default" group is the group proposed by default in the user groupware. By default, this group has all rights on the application.
  • The <None> group and the DEFAULT group cannot be deleted.
  • If you are using an LDAP directory, you have the ability to import the users found in the directory in order to manage the rights of these users. See User groupware and LDAP for more details.
Managing the rights
The supervisor can manage the rights granted to each user (or group of users) on the elements found in the windows, window templates, pages and page templates of the project.
For each association between a user and a window/page, a specific status can be defined for all the elements found in the window or in the page. This can be done for window templates or page templates.
The elements managed in the windows, internal windows, pages, internal pages, window templates and page templates are as follows:
  • the controls
  • the groups of controls
  • the menu options
WEBDEV - Server code In WEBDEV, the user groupware only operates on the buttons, the links, the clickable images and the menu options.
The following states are available for each element:
  • Default: the element behavior corresponds to the default behavior, defined in the application.
  • Inactive: the element is displayed but no input can be performed.
  • Grayed: the element is grayed. No input can be performed.
  • Invisible: the element is not displayed.

Special case: the supervisor does not have access to the window templates

If the windows of user groupware have been included in your project, you can allow the supervisor to configure the internal windows and the window templates.
To do so, modify the code of the GPWConfigurationDetails window or the code of the GPWConfigurationDetails_WB page.
Modification to perform in WINDEV: Modify the initialization code of the COMBO_Window combo box as follows:
// Enumerate the windows
WindowName is string = EnumElement(enumWindow + enumInternalWindow + enumWindowTemplate)
WHILE WindowName <> ""
ListAdd(COMBO_Window, WindowName)
// Next window
WindowName = EnumElement()
END
Window = 1
Modification to perform in WEBDEV: Modify the initialization code of the "Combo_Page" combo box as follows:
// Enumerate the windows
WindowName is string = EnumElement(enumDynamicPage + enumInternalPage + enumPageTemplate)
WHILE WindowName <> ""
ListAdd(COMBO_Window, WindowName)
// Next window
WindowName = EnumElement()
END
Window = 1
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment