PC SOFT

WINDEV的在线文档

  • Overview
  • Principle
  • Implementing the developer groupware
  • Required configuration of the environment
  • Configuring the groupware
  • Note
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

The developer groupware - Managing the access rights

Overview
The developer groupware allows the developer to grant access rights on the different objects created in his project.

The developer groupware can be used:

  • When developing a project as part of a team (see Sharing a project).
  • When the project must be handled by several persons (programmer, interface designer, ...).
  • When some elements are shared between several projects.
  • When the developers share a dictionary (see Managing a dictionary).
Let's take a look at a common example: a developer creates a WinDev application for sales management. The interface must be reviewed by the graphic artist. The graphic artist only needs to access the interface. To avoid any potential modification in the code, the developer will grant the modification rights on the interface of the windows. The graphic artist will not be able to access the code (classes, procedures, code of controls and reports, ...).

Note: in this chapter, user refers to the people who are allowed to handle a project or the objects found in a project.

Caution: The developer groupware is kept for backward compatibility. We recommend that you use the SCM (Source Code Manager) for teamwork.

From version 17, the management of rights is no longer available in the developer groupware.

Principle
The management of the developer groupware is based on:
  • the table of access rights. The table of access rights is a HyperFileSQL file that lists all the users who are allowed to access one or more projects.
  • an LDAP directory (Active Directory). This directory is only used to authenticate the users. The management of rights and the management of persons allowed to access one or more projects is performed in a HyperFileSQL file.
To manage the developer groupware in a project, you must:
  • identify yourself when starting WinDev, WebDev or WinDev Mobile.
  • specify the database of Control Centers used or the LDAP directory used in the project.
When developing the project, the creator of an object (window, report, query, and so on) will have the ability to specify the rights granted to each contributor or user found in the database of Control Centers or in the LDAP directory.

Note: The Project Monitoring Center is used to manage the different contributors of a project. These contributors will be used by the developer groupware.

Implementing the developer groupware

Required configuration of the environment

Depending on the configuration of the environment, the options regarding the developer groupware may not be accessible.

To use the developer groupware:

1. Select "Tools .. Options .. Options of the environment".

2. In the "Environment" tab, check:2. In the "Functions" tab, check:
  • "Former mode of Developer Groupware".
  • "Control Centers".
3. Validate.

Configuring the groupware

To use the developer groupware on the different development computers, a specific configuration of WinDev, WebDev and WinDev Mobile is required.

The following operations must be performed:

  1. Select "Tools .. Options .. General options of WinDev/WebDev/WinDev Mobile". In the "User" tab, click the "Parameters of Control Centers" button.On the "首页" pane, in the "环境" group, expand "选项" and select "General options of WinDev/WebDev/WinDev Mobile". In the "User" tab, click the "Parameters of Control Centers" button.
  2. Specify the location of the files found in the Control Centers. The files of Control Centers are available:
    • in HyperFileSQL Classic mode: all you have to do is specify the directory containing the data files of the Control Centers. These files are automatically created if this directory and if the files do not exist.
    • in HyperFileSQL Client/Server mode: all you have to do is specify the server, the port and the database corresponding to the data files of the Control Centers.
  3. The administrator also has the ability to configure the use of an LDAP directory to identify the users. To do so, you must:
    • Check "Use the LDAP directory to authenticate the users".
    • Specify the path of the server, its port and its version.
    • Test the connection to the LDAP server via the "Test" button.
  4. Only the administrator can check "Forbid the connection of unregistered users".
  5. Validate
The module for managing the developer groupware is initialized. The developer can define specific rights on his objects. See The access rights for more details.

Note: This operation must be performed on all the computers that are using the developer groupware.

From version 17, the management of rights is no longer available in the developer groupware.

Note

If problems occur on the LDAP server, the developer groupware uses a crippled mode: the data files used to identify the developers are the ones found in the table of access rights. In this case, the developers have no password.