Only user 1 has access to configure crm core activity types.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pingers’s picture

Confirmed.

Anonymous’s picture

Status: Active » Needs work

Let's target this as part of the version 1.0 release. Pingers, can you get this tasked out to someone?

dobe’s picture

Here 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.

pingers’s picture

Status: Needs work » Closed (fixed)

Thanks 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

Fabianx’s picture

Status: Closed (fixed) » Fixed

Lets keep this open for other to find till bot closes this automatically.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

isuttie’s picture

Version: 7.x-1.x-dev » 7.x-0.92

Did this patch make it into 7.x-0.92?

(it doesn't look like it from my site...)

pingers’s picture

Hi isuittie, 798af1d68504ca525df6a8a9b7e2abf93cddbc79 is included in the release.

Maybe you're having a different issue?

pingers’s picture

Issue summary: View changes

Updated issue summary.