sẽ rerender rằng bảng ở 90% của bản thân mỗi khi bạn đăng trở lại. Điều này có nghĩa là bảng của bạn sẽ nhỏ hơn và nhỏ hơn với mỗi chuyến đi vòng. Internet Explorer không làm được điều vậy, bây giờ bạn có một ít kiến thức về bảng được xây dựng như thế nào, tôi sẽ cho bạn thấy | CHAPTER 9 DNN PERMISSIONS AND PORTALS 263 Figure 9-14. The menu bar for test users You can see that Cust_1 is logged in and can now see the registration page. Log in as administrator and click Admin User Accounts. Once you re in edit the Emp_1 account. At the bottom of the Edit User Accounts page there is a link called Manage Roles for this User. Click this and you will be brought to the Manage Roles for User section as shown in Figure 9-15. Figure 9-15. Screen to manage user roles As shown in Figure 9-15 click the Security Role drop-down and choose the Employee role. Once you do this click the Add Role link and this user will now become an employee. Do this for Emp_2 as well. Log out and back in as each of the test users in turn. You should see the Inventory and Time pages for the employees and the registration page for the customers. This is pretty cool if I do say so myself. You can see that managing roles is a good way to enable access to parts of the website for different users. There is a better way though. You can combine security roles with portals to create a website that truly separates the Internet from the intranet. 264 CHAPTER 9 DNN PERMISSIONS AND PORTALS Managing Portals This section deals with creating a child portal that further separates the functionality of the website. Let s look at what you ve done so far with this website. You installed DNN which created a default portal. This portal appeared to you as a complete website. You added pages to the site and existing modules to those pages. You created a new module for employees to punch in and out of work. You added a new page to hold this module and tested it under various conditions. You added a new security role to enable filtering of pages based on who was logged in. You changed permissions on a page-by-page basis to make the site appear properly to casual browsers registered users and employees. I guess I could end the book right here. You now have a working website that does everything you .