IBM Webcam R1 Manual do Utilizador Página 86

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 94
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 85
See “Chapter 4: Customizing Help” for instructions on how to create custom Help topics.
3. Add permissions to the LMS database
A user needs permission to display the tabbed page and its two links. As in the case of Help, you
could use existing permissions (making the appropriate changes in customTab.jsp’s
<lms:permissionCheck>…</lms:permissionCheck> blocks and in navigation.xml’s
<permissions> tag), but custom permissions give you more precise control over access. See
“Adding custom permissions” earlier in this chapter for more information about permissions.
To add permissions to the database, first ascertain the currently highest value for the PERM_ID
field in the PERMISSION table. You can do this by executing the following SQL query:
SELECT MAX(PERM_ID) FROM PERMISSION
(At this writing, the highest PERM_ID is 420.)
Execute the following SQL statements to add the custom permissions that this example uses:
Chapter 8: Creating a tab 81
Vista de página 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Comentários a estes Manuais

Sem comentários