Taxonomy based access for Drupal 7

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
tmuras's picture

Hello Everyone,

I'm working on a new module for D7 that will extend access permissions based on taxonomy. The idea is based on an excellent Taxonomy Access Control. My goal is to create an API module - similar to ACL that will have all the features of Taxonomy Access Control and also Taxonomy Access Control Lite. Then (again just like in ACL) a different front-end modules could be created.

I've called the project "tacl" and it's currently available as a sandbox project: http://drupal.org/sandbox/tmuras/1079102. There is no UI (no "front-end" module yet) but the code already works. I've also started work on the documentation on http://tacl.zabuchy.net .

If you are interested in taxonomy based ACL module, please join in! You can have a look at the wiki & the code and comment on it. If you have any specific requirements for this module, please let me know as well. I would be also very happy to find co-maintainers.

cheers,
Tomasz Muras

Comments

I already released

agentrickard's picture

I already released http://drupal.org/project/workbench_access as well (about 3 days prior to yours).

It's a pluggable access control hierarchy that supports Taxonomy and Menu.

Node Access

tmuras's picture

Hi Ken,

I had a look at Workbench Access. It looks good and well done on the documentation.
I see that it does not provide access control for viewing content, but only editors/administrators.
Access control for viewing is a requirement for me, so it looks like I have to continue my development.

cheers,
Tomek

Hello, Would anyone here have

tmuras's picture

Hello,

Would anyone here have a bit of spare time to review my new module? A request is here:
http://drupal.org/node/1098072
but nothing is happening there!

cheers,
Tomasz Muras

I would like to use and test

kaizerking's picture

I would like to use and test it , How ever i dont see and tar ball or gzip files there, I am on windows and un fortunaltely my git and other things aren't working to download from git
If you have any link please post it here to download

Hello, Here it is, I've

tmuras's picture

Hello,

Here it is, I've exported it for you: http://agilesparkle.com/tacl.zip . Bear in mind that I've decided to kill the project, the documentation is already deleted.

cheers,
Tomasz Muras

Why you have decided to kill the project?

kaizerking's picture

I have installed the module and it works fine,
There are so many node access modules, but none with a dependency of profile2
How ever i have suggestion if you have spare time,

What I am looking for is a taxonomy access control,which is dynamic, Dynamic in the sense, The node access is granted if he has a matching term reference in his/her profile2 , if he doesn't the term reference then he would not be able to access that node/content.
My requirement is I have role recruiter who posts a job using content type "job per template."
* has Profile 2 profile which has 2 field collection fields 1. Work experience a multi value field collection filed,which has skills_field a term reference field - using hierarchical select field saving the deepest term 2. Experiences field which is also term reference field .ex.0-1 year ,1-2 years

  1. The job per template also uses the same fields

My requirement is The applicant should only be able to access the jobs which matches his/her "current" skills and experience.
If the skills are changed he/she should not be able to access the job
Let me know if you need more details to understand.

"access to specific content" matching the fields of :"pofile2 fileds"

Problem areas:
* the node access/ term access modules depend on core profile in D7, where as core profile is deprecated in D7

  • users, the job poster and the applicant will be required to have the term reference fields in their profiles to administer access control using those modules.
  1. The the work experience field collection field is a multi-value field. so there will be multiple skill term references values to match for condition "any."

The hierarchical thing is more important, there is no module which can do this as the entity system is new

Thanks
Venky

I've decided not to continue

tmuras's picture

I've decided not to continue because it didn't get the acceptance to become a full project - see http://drupal.org/node/1098072 . The feedback was also extremely slow & I gave up after a while.

If you get that pushed forward I could consider working on it again.

@kaizerking I think

gmclelland's picture

@kaizerking I think http://drupal.org/project/abt might be what you need

Access Control

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week