A user permission management model is designed.

Source: Internet
Author: User
ArticleDirectory
    • Comment

I don't know if this works. Please give me some advice.

Posted on sadly_lee read (147) Comments (3) EDIT favorites to 365key category:. Net notes Comment # Re: a user permission management model is designed. Ged users directly include permissions;
You need to include users/roles with users to achieve record-level control.

# Re: designed a user permission management modelI used to perform simple permission management, which is similar to what you do now. but now I feel that it is not enough, and the granularity of control is not small enough. I am planning to make some changes and talk more recently.

The following articles are worth your reference:
Http://www.jdon.com/jive/article.jsp? Forum = 46 & Thread = 7309
Http://www.cnblogs.com/nehu/archive/2005/06/20/177942.aspx
Http://blog.csdn.net/beegee/archive/2004/08/24/83785.aspx

# Re: designed a user permission management modelDongdong uses guid as the ID of each table to facilitate data merging and prevent concurrency. Some fields are optional based on different programming implementations. I have used Programming to Implement this permission management module, cascade authorization is used for each authorization. The approximate table structure is as follows:

User table: userid name enable
Menu table: menuid name parentid ismenu
Role table: actorid name parentid
Role permission table: actorid menuid enable (optional)
User Role table: userid actorid enable (optional)

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.