IBM Webcam R1 Uživatelský manuál Strana 86

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Komentáře k této Příručce

Žádné komentáře