sexta-feira, 21 de agosto de 2020

DICAS 3041- WINDEV TUTORIAL 64 - GROUPWARE - TESTE - PARTE B



https://youtu.be/035mp6m5dwc


Bom Dia/Boa Tarde/Boa Noite

Esse Ao Vivo vai estrear as 10:00 do dia 31/08/2020 

DICAS 3041- WINDEV TUTORIAL 64 - GROUPWARE - TESTE - PARTE B
tutoriel WINDEV : Leçon 4.10.b. Identifier l'utilisateur : le groupware utilisateur - Test


ASSUNTOS

EXPLICANDO O QUE SERA FEITO
CRIANDO O PRIMEIRO USUARIO TEST_1
CRIANDO O GRUPO TESTES
LINKAR O USUARIO AO GRUPO 
PROIBIR ACESSO AO EMAIL GRUPO TESTES
DEIXAR NAO ACESSO A INCLUIR E ALTERAR PRODUTOS
DESATIVANDO GROUPWARE


Video original da Franca

https://youtu.be/EiyR-FsAhHw


Playlist Windev TUTORIAL









Creating users and groups

  • To configure the user groupware, we are going to create a "Test_1" user and associate this user with the "Tests" group. Then, we are going to configure the management of rights for the group.
    Configuring the groupware
  • To create a user:
    1. Click the "New" button found below the "Users" area. The screen for entering a new user is displayed.
    2. Type the following information:
      • Login: Test_1
      • Last name: Test_1
      • Password: Test_1

        Remark

        By default, the password is hidden during the input. To check the password, click on the eye icon: the password appears in clear as long as the mouse button is pressed.
        Configuring the groupware
    3. Click on "Save". The "Test_1" user appears in the list of users defined for the user groupware.
  • To create a new group of users:
    1. Click the "New" button found below the "Groups" area. The screen for entering a new group is displayed.
    2. Enter the name of the group: "Tests".
      Configuring the groupware
    3. Click on "Save". The "Tests" group appears in the list of groups defined for the user groupware.
  • To associate the user with the group:
    1. Select the "Test_1" user in the window.
    2. Drag and Drop the "Test_1" user to the "Tests" group.
      Configuring the groupware
    3. The association is performed.

Defining rights

We are now going to define rights for the "Tests" group. These rights will be granted to all users found in the group. In our example, the users found in the "Tests" group will not be allowed to:
  • Display the window for sending emails.
  • Create or modify a product.
  • To define the rights:
    1. Click "Rights management" on the left of the window.
    2. Select the "Tests" group.
    3. Click "Next".
    4. The window that is displayed allows you to select each window or report of the application.
      • For each window or report, it is possible to specify whether or not the element will be accessible by the group.
      • For each window, you can define whether the window controls will behave like the application (default mode) or whether they will be disabled, invisible or grayed.
  • To forbid the access to the "WIN_Sending_an_email" window:
    1. Select the window in the list.
    2. Click the "Forbid the access" button.
      Defining rights
    3. The window is forbidden.
  • Define the rights on the "WIN_Menu" window. This window contains a menu option used to display the window for email management as well as the "New" and "Modify" buttons.
    1. Select the "WIN_Menu" window.
    2. Click the "Next" button.
    3. The window for configuring the rights on the window controls is displayed.
    4. Switch the "BTN_Modify" and "BTN_New" buttons to "Grayed":
      Defining rights
    5. Switch the "Send an email" option to invisible:
      Defining rights
    6. Click the "Save" button.
    7. Close the configuration window.
    8. The WINDEV editor is displayed.

Application test

  • We are now going to run the application test by using the "Test_1" login.
    1. Run the project test ( Run project test among the quick access buttons). A login window is displayed.
    2. Connect yourself as "Test_1" with the "Test_1" password. Validate.
    3. The application starts. If necessary, select the tab "List of products". You will notice that the "New" and "Modify" buttons are grayed and that the "Send an email" option is invisible.
      Application test
    4. Exit from the application and go back to the editor.
Disabling the management of user groupware
The user groupware will no longer be used in the rest of this tutorial. Therefore, it can be disabled.
  1. On the "Project" pane, in the "Project" group, click "User groupware".
  2. In the window that is displayed, in the "Integration" tab, select "No user groupware".
  3. Validate.

Remark

If automatic tests are performed in your application, the user groupware must be configured in order not to use the login window. To do so, fill the "Automatic login in test mode" option in the "Runtime" tab of the window for configuring the groupware.


DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C







quinta-feira, 20 de agosto de 2020

DICAS 3040- WINDEV TUTORIAL 63 - groupware - Configuracao - Parte A



https://youtu.be/EtG8Y6mSxCc


Bom Dia/Boa Tarde/Boa Noite

Esse Ao Vivo vai estrear as 09:00 do dia 31/08/2020 

DICAS 3040- WINDEV TUTORIAL 63 - GROUPWARE - CONFIGURACAO - PARTE A
Tutoriel WINDEV : Leçon 4.10.a. Identifier l'utilisateur : le groupware utilisateur - Configuration

ASSUNTOS

EXPLICANDO O QUE É GROUPWARE
ENTRANDO NO PROJETO 4 EXERCICIO
PORQUE USAR GROUPWARE AUTOMATICO 
USAR HFSQL CLASSIC 
AUTENTICACAO PELO GROUPWARE
REGISTRO
TESTE


Video original da Franca

https://youtu.be/jFFJ3TJ8HCM


Playlist Windev TUTORIAL












Lesson 4.10. Identifying the user: the user groupware
This lesson will teach you the following concepts
  • What is the user groupware?
  • Integrating the user groupware.
  • Configuring the user groupware.
  • Checking the user groupware.
Lesson duration

Estimated time: 20 mn
Previous LessonTable of contentsNext Lesson
Overview
An application can be used by several contributors with different profiles. It is often necessary to define several access levels according to the user.
Let's take a simple example: an application for sales management proposes the following features:
  • Viewing the price list.
  • Modifying the price list.
  • Entering orders.
  • Entering customers.
The accesses differ according to the user. Some examples:
  • the administrative assistants can see the price list and create orders.
  • the sales people can see the price list, place orders and create new customers.
  • the sales directors have access to all options.
WINDEV allows you to easily manage these access levels in your applications via the user groupware.
We are going to include the user groupware in our "WD Full Application" application and to configure it.

Answer

If you did not create the windows in the previous lessons, you can follow this lesson by opening a corrected project: in WINDEV's home page (Ctrl + <), click "Tutorial" and select "Full application (Answer)".
Integrating the user groupware
  • To include the user groupware in the "WD Full Application" project:
    1. On the "Project" pane, in the "Project" group, click "User groupware". The window for configuring the user groupware is displayed.
      Configuring the user groupware
    2. In the "Integration" tab, two integration modes are available:
      • Automatic user groupware: all elements of user groupware are included in your application. This allows you to benefit from all groupware evolutions. Furthermore, the skin template of project can be applied to the groupware windows.
      • Custom user groupware: all groupware elements are included in your application via an internal component. You can customize the different elements of the user groupware. However, the evolutions will not be taken into account.
    3. Select "Automatic user groupware".
    4. Select the "Runtime" tab. Two start modes are available:
      • Auto run: the groupware is started as soon as the application is started.
      • Manual start: the groupware will be started by programming.
        Configuring the user groupware
    5. Keep the "Auto run" option.
    6. Select the "Files" tab. This tab is used to define the format and location of the data files found in the user groupware. In our case, we will be using HFSQL Classic data files, in the location specified by default.

      Remark

      If you (or the end user) is using Windows Vista (or a more recent operating system), we advise you to use the "Data directory" option.
    7. In the "Files" tab, select "Enable history of connections". This option allows the supervisor to get information about the connected users.
      Configuring the user groupware
    8. Select the "Options" tab. This tab is used to define the identification mode of user:
      • management by the user groupware.
      • using an LDAP directory or Active Directory. In this case, when installing the application, the user will be able to enter the parameters of his LDAP directory or Active Directory.
      • using the Windows authentication.
        Configuring the user groupware
    9. Select the "Registration" tab.
      Configuring the user groupware
      This tab allows authorizing the use of a specific connection service. For the specified service, it is necessary to specify the corresponding identifiers (provided when registering the application with the selected service).
    10. Validate. A message is displayed, indicating that a Supervisor user is created.

      Remark

      A single user exists by default, the supervisor. During the first application start, connect yourself by using the name: "supervisor". You will have the ability to define the password used by the supervisor.
      Identification of groupware
    11. Validate this message. The user groupware is included in the application.

DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C






Teste

Teste
teste