|
One of the administration pages is the Users page where the registered users of the system can be administered.
Steps:
| 1. | The page template of the administration pages will be different than the site template. Before we create the administration page template we have to disable page inheritance temporarily.
To do that click on the "Use Parent Page As Template" button [ ] on the "Template" toolbar.
|
| 2. | Click on the Site icon on the project explorer and press [CRTL + N] to create a new page and name it as "Admin". |
| 3. | "Admin" page is now open. Place "Tutorial > SiteTemplate > AdminHeader" element into the page on the top. |
| 4. | Save the "Admin" page and close it. |
| 5. | click on the "Use Parent Page As Template" button [ ] on the "Template" toolbar to enable page inheritance again. |
| 6. | While the "Admin" page is selected on the project explorer press [CTRL + N] to create a new page and name it as "UserList"
 |
| 7. | Place "mor > Security > UserList" element under the "AdminHeader" element. |
| 8. | Place "mor > Security > UserProperties" element under the "UserList" on the left. |
| 9. | Place "mor > Security > CreateNewUser" element in the remaining empty area on the right. |
Steps:
| 1. | While the "Admin" page is selected on the project explorer press [CTRL + N] to create a new page and name it as "Roles_CPs" |
| 2. | Place "mor > Security > RoleList" element into the page on the left. |
| 3. | Place "mor > Security > CheckPointList" element into the page on the right. |
| 4. | Press "Build and Test"[Shift+F9] on the Basic Toolbar and test the administration pages. |
.
We have to provide a link to the administration pages. The best place to add this link is the header of site template.
Steps:
| 1. | Open the "Site Template" |
| 2. | Place "Tutorial > SiteTemplate > AdminLink" element into the Header element as follows: |

The "boolean(/mor_security_userinfo_main.checkpoints.IS_SYS_ADM)" definition in the "Display If" property of this element ensures that the link is visible only to the system administrator.
|