In my setup, I will use term permissions to limit sepcific 'categories' a user may post in. Imagine a newspaper or magazine website with 30+ topics as terms. We will have 100s of users, and adding them in a comma separated list is not very usable.

We need to move the term permission settings to a user tab (a multiselect list will do).

1. Choose which vocabularies to show in user tabs (e.g. only Topics vocabulary) >> a checkbox on the vocab form
2. On creating/editing a user, select which terms (topics) are permitted

If I dont find some solution for this, I'll probably try to code this myself. As I need to launch this by next week.

CommentFileSizeAuthor
#5 user_settings.patch14.67 KBelliotttt
#2 termpermtab-module.zip3.8 KBAnonymous (not verified)

Comments

Anonymous’s picture

---

Anonymous’s picture

Status: Active » Needs work
StatusFileSize
new3.8 KB

As promised, I turned this into a module. It keeps the role permissions in the edit term form, but moves the user selection to the user tab (a multiselect dropdown). It adds a settings page to choose which kind of vocabs are allowed (required, tags, multiple). After installation, go to a user page and see the 'Permissions' tab. It shows only certain vocabularies (based on admin/settings/termpermtab).

Shall I merge my efforts with term_permissions? If yes, then I will merge and create a patch.

Or shall we keep separate modules? Then I will make my own module called 'terms_permissions_advanced'

Please advise.

deviantintegral’s picture

This sounds pretty good; could you post some screenshots of the new UI?

bmcpr’s picture

This would be so much more user friendly for a site's content and user administrator. It took me, the root admin, 20 min to find where to set the term permissions. And honestly for the site I need this, the content admins don't have permission to admin the taxonomy. Having the user profile be the location set term permissions is ideal.

Does this contribution allow for both means of setting term permissions? Meaning, if I set a user's profile with term permissions, are these permissions also found under the term list for the taxonomy? I also use hierarchical select with my taxonomy. Any conflict seen there?

elliotttt’s picture

Assigned: Unassigned » elliotttt
Status: Needs work » Needs review
StatusFileSize
new14.67 KB

I'm working on a significant overhaul of this module, and have posted another effort for this functionality here:
http://drupal.org/node/668704

I'll post this patch here as well to keep the issues separate, apologies for the double patch, but I changed so much it would have been more work to separate out the changes.

Please note this patch does remove the role based permissions, but will be added back in.