| 1 |
lars |
1 |
<com:TContent ID="Main">
|
|
|
2 |
|
|
|
3 |
<h1>User Management Overview</h1>
|
|
|
4 |
|
|
|
5 |
<p>
|
|
|
6 |
In this section, we create pages that are related with user management. In particular, we implement these required features: user login/logout, creating new user account and updating/deleting user accounts.
|
|
|
7 |
</p>
|
|
|
8 |
|
|
|
9 |
<p>
|
|
|
10 |
According to the requirements, we need to create the following pages. To better organize our code, these user-related pages will be created under a new directory <tt>protected/pages/users</tt>.
|
|
|
11 |
</p>
|
|
|
12 |
|
|
|
13 |
<ul>
|
|
|
14 |
<li><tt>LoginUser</tt> displays a login form to login a user.</li>
|
|
|
15 |
<li><tt>NewUser</tt> creates a new user account.</li>
|
|
|
16 |
<li><tt>EditUser</tt> allows a registered user to update his profile.</li>
|
|
|
17 |
<li><tt>AdminUser</tt> allows the administrator to manage the user accounts, including setting permission level and deleting a user account.</li>
|
|
|
18 |
</ul>
|
|
|
19 |
|
|
|
20 |
<p>
|
|
|
21 |
After finishing this section, we shall expect to see the following directories and files:
|
|
|
22 |
</p>
|
|
|
23 |
|
|
|
24 |
<img src="<%~ directories.gif %>" class="output" />
|
|
|
25 |
|
|
|
26 |
</com:TContent>
|