Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Only user 1 has access to configure crm core activity types.
Comment | File | Size | Author |
---|---|---|---|
#3 | crm_core-activity-permission-bug-1798094-3.patch | 36.47 KB | dobe |
Comments
Comment #1
pingers CreditAttribution: pingers commentedConfirmed.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedLet's target this as part of the version 1.0 release. Pingers, can you get this tasked out to someone?
Comment #3
dobe CreditAttribution: dobe commentedHere is a patch to fix this I believe. *edit* bare with my patching skills. I only edited 1 line but the patch killed all and re-added it lol.
Comment #4
pingers CreditAttribution: pingers commentedThanks dobe, I saw the fix in your patch. Committed in 798af1d68504ca525df6a8a9b7e2abf93cddbc79.
hook_permission() incorrectly defined the permission "administer activity types" as "administer crm_core_activity types". The actual permission check in the module was using the right name, but because it wasn't defined in hook_permission(), only uid 1 had access. This is now consistent with crm core contact module.
@dobe - please fix your editor settings to not strip whitespace (empty lines) and also not change line endings to windows format. See http://drupal.org/coding-standards#indenting
Comment #5
Fabianx CreditAttribution: Fabianx commentedLets keep this open for other to find till bot closes this automatically.
Comment #7
isuttie CreditAttribution: isuttie commentedDid this patch make it into 7.x-0.92?
(it doesn't look like it from my site...)
Comment #8
pingers CreditAttribution: pingers commentedHi isuittie, 798af1d68504ca525df6a8a9b7e2abf93cddbc79 is included in the release.
Maybe you're having a different issue?
Comment #8.0
pingers CreditAttribution: pingers commentedUpdated issue summary.