2

I am building an application for a university where teachers will submit questions(MCQs) into Topics(Vocabulary) containing many terms infact in hundreds.

Our business logic is so that teachers will be allowed to submit questions only of their respective academic field, so we need to limit the list of topics to teachers based on their area of field. For example computer science teachers will submit questions in computer science term and its children.

So basically what I want it, something like one role per taxonomy term, I tried the Taxonomy Access Control module and the user permission module, but to no avail.

Is there a better solution for limiting taxonomy terms per user? Not per role or should I then create a role against every taxonomy term?

  • What does MCQ mean? – Kari Kääriäinen Feb 10 '14 at 6:06
  • Multiple Choice Questions, they are just nodes infact.... – Naveed Khan Feb 10 '14 at 6:48
  • If you have hundreds of terms and therefore hundreds of roles, administering those roles could be a nightmare. A role per academic field would sound more typical. – Kari Kääriäinen Feb 11 '14 at 11:07
0

How about considering this question as yet another variation of either of those questions:

If you agree, my answer to this question is similar to what I answered in How to implement User roles for specific taxonomies?. I.e. that it appears to me that organic groups seems your best bet to answer your question (in this case the question is about "academic fields" instead of "cities" or "countries").

Also take into account the "maintenance / development status" of any module you're considering, as explained in my answer in the 2nd question above, about "Maintenance Scorecards". E.g. when considering Taxonomy Term Permissions, as suggested in another answer here: for D7 there is no official version yet (only a beta2 release from about 2,5 year ago). Similar for Taxonomy Access Control, suggested as a possible alternative in one of the other questions mentioned before (only a RC1 release for D7, from about 3,5 year ago).

Disclosure: I'm the author of that community documentation page (partially inspired by the 28 criteria in the issue linked near the beginning of the scorecards paragraph),
I hope this does not violate the site's policy on self-promotion.

0

The Taxonomy Term Permissions module is what you are looking for.

From the project page description:

This module allows taxonomy administrators the ability to restrict setting individual terms on nodes by user or role.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.