Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7435319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:03:18+00:00 2026-05-29T10:03:18+00:00

The system will two types of users. Admins and normal users. Admins can have

  • 0

The system will two types of users. Admins and normal users. Admins can have access to products only. If an admin have access to a product A, it means he also has access to all its sub products.

Normal users can have access to only sub products (one or more).

Screen to add Admin users will have a drop down of products while screen to add users will have a drop down of sub products.

Product Admin will add product sub users.

There is going to be a single table for both Admin users and Normal users as everything else is same for both users.

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:03:19+00:00Added an answer on May 29, 2026 at 10:03 am

    You’re basically looking at this:

    SystemUser: Id, AccountName
    SystemRole: Id, RoleName
    UserRole: SystemUserId, SystemRoleId
    Product: Id, ParentId, Name
    

    Product will have a self-reference on ParentId. If it’s not a sub-category then ParentId should be NULL. You’ll want anyone who doesn’t have a SystemRole of "Admin" defined to be unable to access any Product that has a NULL ParentId.

    UserRole is an association table that provides the M:N relationship of SystemUser to SystemRole. Even if each user will have a single role it’s a good idea to set up the structure this way for now so your application is easier to expand in the future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to develop a CRM system which will allow users to have a
I am implementing two processes on a LynxOS SE (POSIX conformant) system that will
I have a system that will generate messages sporadically, and I would like to
I need to design a system that will control access to certain information. The
I was asked to build a java system that will have the ability to
I have a report in our internal system that can return anywhere from 1
I have two systems that produce different types of messages that I need to
So i have this PM system. At the recipient field, You can type in
I have an existing database, with a bunch of users. These users will be
I have an entity with multiple fields. There are two types of actions that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.