Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
To start implementing an UI for feeds tamper we have to implement permissions as in 7.x:
https://cgit.drupalcode.org/feeds_tamper/tree/feeds_tamper.module:
administer feeds_tamper
'tamper ' . $importer->id - Create, edit and delete plugins for %name feeds.
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedGood idea. I set the status to "active", because the status "Needs work" is meant to be used when there is an existing patch on the issue that needs work. See https://www.drupal.org/node/156119.
Comment #3
max-kuzomko CreditAttribution: max-kuzomko at Smartweb for Fibonacci Web Studio commentedThanks, @MegaChriz! I have attached the patch.
Comment #5
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedI've checked the permissions page and gave the authenticated user one of the Tamper permission. Then in Devel's execute PHP code I evaluated the following code:
Which resulted into
bool(true)
.For an other tamper permission (not checked for the authenticated user) this resulted into
bool(false)
.So looks good to me!
Committed #3. On commit I removed the D7 version of the code as well (probably all D7 code could just be removed).