Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract away dependency on roles for controlling access #16

Open
willnationsdev opened this issue Oct 19, 2020 · 2 comments
Open

Abstract away dependency on roles for controlling access #16

willnationsdev opened this issue Oct 19, 2020 · 2 comments

Comments

@willnationsdev
Copy link

I have a use case in which we will be relying on either LDAP groups or ad-hoc username groups to control access to individual pages. These collections will naturally grow in size over time. Porting over from an existing system, we likely have well over a thousand combinations of users able to access various pages across hundreds of sites. Using the current mechanism, we would need to generate Roles for every single one of these groups (not satisfactory).

I would propose developing a separate module for group abstraction that can then be made a dependency of this module. It would then rely on the group services to locate information with which to compare access level authority, and would rely on registered services both for collecting the data and performing the evaluations of said data. In this way, third-party modules would be able to dictate not only what data is used to determine content item permissions, but also how that data should relate to existing information in the Orchard Core CMS.

@peterkeating
Copy link
Member

@willnationsdev This is a really great suggestion!

@willnationsdev
Copy link
Author

@peterkeating I am actively developing a module for this. When I finish it, I will talk with my boss about the possibility of open sourcing the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants