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 960659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:13:02+00:00 2026-05-16T01:13:02+00:00

I am making a software as a service using Spring 3.0 (Spring MVC, Spring

  • 0

I am making a software as a service using Spring 3.0 (Spring MVC, Spring Security, Spring Roo, Hibernate)

I have to come up with a flexible access control list mechanism.I have three different kinds of users

  • System (who can do any thing to the system, includes admin and internal daemons)
  • Operations (who can add and delete users, organizations, and do maintenance work on behalf of users and organizations)
  • End Users (they belong to one or more organization, for each organization, the user can have one or more roles, like being organization admin, or organization read-only member)
    (role like orgadmin can also add users for that organization)

Now my question is, how should i model the entity of User?

If I just take the End User, it can belong to one or more organizations, so each user can contain a set of references to its organizations. But how do we model the users role for each organization,

So for example User UX belongs to organizations og1, og2 and og3, and for og1 he is both orgadmin, and org-read-only-user, where as for og2 he is only orgadmin and for og3 he is only org-read-only-user

I have the possibility of making each user belong to one organization alone, but that’s making the system bounded and I don’t like that idea (although i would still satisfy the requirement)

If you have a better extensible ACL architecture, please suggest it. Since its a software as a service, one would expect that alot of different organizations would be part if the same system. I had one concern that it is not a good idea to keep og1 and og2 data on the same DB (if og1 decides to spawn a 100 reports on the system, og2 should not suffer) But that is some thing advanced for now and is not directly related to ACL but to the physical distribution of data and setup of services based on those ACLs

This is a community Wiki question, please correct any thing which you wish to do so.
Thanks

  • 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-16T01:13:03+00:00Added an answer on May 16, 2026 at 1:13 am

    There is nothing wrong with one user can belong to multiple organizations and he/she can have multiple roles within one organization. In a typical Role-based Access Control model, you can have groups. And roles can either be a global role (like system admin), or only be effective within a group. You protected data elements need to be split into groups correspondingly. When the user access one data group, you will first check if he/she has rights to that group. Then load the his/her rights for that group. This is hard to do with spring security acl unless you extend it with your own aclservice. It’s just like the spring acl filter’s performance issue. Eventually, you’ll have to wire some of your security into your business logic one way or another.

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

Sidebar

Related Questions

I'm making Python software using wx GUI library but was wondering how to run
I am making an application that connects to our billing software using its API,
I am making an windows software in c#. I have read about sql-injection but
I'm making my own forum software. Well its normal to have smileys in your
So I am making a piece of software in WPF, and I want to
I'm making a customer administration software. There are several JPanels with much content on
I'm currently making a front end to display license information for my companies software
Making a word document of our network set-up. We have about 7 servers and
I had prepared a project on making a software application. It is complete and
I'm new to HTML5 application. And I'm making in-house software. This means I can

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.