Closed (fixed)
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2012 at 11:52 UTC
Updated:
18 Jun 2018 at 18:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
agentrickardNo real plan. In the DEV version, you can directly map taxonomy fields to access controls, which should naturally map to Feeds.
Comment #2
hixster commentedCool, thanks for the pointers on using Taxonomy mapping in dev, we need that for other things too, so that a great help.
Comment #3
agentrickardI think that is the plan, in fact. ;-)
Comment #4
Taxoman commentedComment #5
Taxoman commentedOoops. sorry, setting back.
Comment #6
Taxoman commentedComment #7
agentrickardSince native taxonomy field support has already been committed, I think this is fixed.
Comment #9
zerolab commentedApologies to re-open this, however we needed the same functionality as hixster. That is, assign an access section during feeds import. Taxonomy mapping is not an option as the access section vocabulary does not appear in the list of mapping targets.
Attaching a patch to add "Workbench Access section" to the list of targets, which can then be populated with the term id or term name.
Cheers,
Dan
Comment #10
kwfinken commentedExcellent patch. Works well.
Comment #11
megatag commentedI tried out the patch in #9 and got the error:
Warning: trim() expects parameter 1 to be string, array given in workbench_access_feeds_set_target() (line 42 of .../workbench_access.feeds.inc).
For it to work I had to change
to
Maybe this will help anyone that gets the same error. Apart from that, this was a really handy patch that saved me a lot of time.
Comment #12
katannshaw commentedWonderful patch on #9 zerolab. Thank you so much!
Comment #13
agentrickardBased on #11, this needs a re-roll.
Comment #14
zerolab commentedAttaching a re-rolled patch that incorporates feedback from #11
Doing the trimming and array check at an earlier stage.
Cheers,
Dan
Comment #15
fredonia_webteam commentedPlease enable this patch for workbench_access module.
Comment #16
agentrickardDoes that mean that the patch works as designed for you?
Comment #17
zerolab commentedFWIW, we are using this patch in production for the past 4 years. But will leave it for someone else to RTBC
Comment #18
fredonia_webteam commentedThe patch in #14 works as intended.
Comment #19
agentrickardThanks!
Comment #21
agentrickardCommitted.
Comment #22
agentrickard