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

Getting All Permitted Contents #3

Open
koraykupe opened this issue Oct 16, 2015 · 2 comments
Open

Getting All Permitted Contents #3

koraykupe opened this issue Oct 16, 2015 · 2 comments

Comments

@koraykupe
Copy link

Hi,

I've been trying to develop an internal staff portal for our company. There are departments, job grades, working areas, roles (user, editor, admin, super admin, etc...) and special groups (executives, etc) for user grouping.
User must have one (only one) department. User must have one (only one) job grades. User must work in minimum one area. User must have one (only one) roles. User may have one or more special groups.

Job grades and roles are hierarchical (an grade or role may be inherited of another one) but other ones not.

Users will see only allowed menus and access permitted routes.
User will also select which users can view it when posting a new content. e.g: Combination 1: (IT or Finance department) and (Job Grade is one of 9,10,11) and (Area is one of 1,5,8) and (Exclusive special group is one of 1,5,8) except user id=1

Combination 2: (HR department) and (Job Grade is 11) and user_id=3,4,5

Combinations can be related as AND/OR among themselves like Combination 1 AND combination 2. Main problem; how can i get all contents accessable by a user?

Is it possible with your package?

Thanks.

@Danielss89
Copy link
Member

Yes, With abac you can provide several different rules(both AND and OR), so this will be possible.

@koraykupe
Copy link
Author

But how can i get all resources (for example announcements) that allowed for a user?

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