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.
Despite opencalais_api not suppose to have a dependancy on the opencalais module. It uses permissions defined by the opencalais module which makes the api's admin pages inaccessible when the opencalais module is disabled.
This patch moves the hook_permission implementation to opencalais_api module as both opencalais and opencalais_api require the permission provided.
Comment | File | Size | Author |
---|---|---|---|
#1 | 7.x-opencalais_api-permissions-hook.patch | 1.44 KB | Josh Waihi |
7.x-opencalais_api-permissions-hook.patch | 1.73 KB | Josh Waihi |
Comments
Comment #1
Josh Waihi CreditAttribution: Josh Waihi commentedAttaching patch with relative diff path so that it can be applied with git apply.
Comment #2
jec006 CreditAttribution: jec006 commentedCommitted here: http://drupalcode.org/project/opencalais.git/commit/8b355f7
Thank you and sorry for the delay.