Design and Implementation of multi-user permission Control for Web application systems-database design [2]: multi-user permission Control

Source: Internet
Author: User

Design and Implementation of multi-user permission Control for Web application systems-database design [2]: multi-user permission Control

To build a Web permission Configuration System, you need the following five data tables: Personnel table, group table, page table, directory table, and Operation permission table. The IDS used in each data table are the IDs of auto-increment 1. The definitions of each data table are as follows:

1.1 Personnel table (operatorinfo)

1.2 grouping table (operatorgroup)

1.3 page table (pageinfo)

1.4 catalog)

1.5 permission list)

1.6 ing

User tables can be mapped to group tables by group numbers;

The page table can be mapped to the directory table through the directory number;

The group number, directory number, and page number are mapped to the permission table to determine the page that a user can access. A user can belong to multiple groups and has all permissions in the group.

Summary: This chapter mainly introduces the design of data tables. The next chapter describes how to build a project and how to encapsulate basic operations.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.