CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • normal users can't access /civicrm/admin/messageTemplates?reset=1
Pages: [1] 2

Author Topic: normal users can't access /civicrm/admin/messageTemplates?reset=1  (Read 2519 times)

rogical

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 02:06:57 am
How to let normal users access /civicrm/admin/messageTemplates?reset=1

it indicates "You are not authorized to access this page."

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 02:10:41 am
Which CMS are you using. Normally access control is done using the CMS's method of access control
« Last Edit: November 29, 2012, 11:27:37 am by petednz »

rogical

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 04:51:40 am
Drupal 7,  there's no permission for message template, but it seems only allow administrator to access.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 11:27:12 am
rogical - want to explain what you are trying to achieve

(note, I edited ozyanks from Crm to CMS to avoid confusion)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dennis Gray

  • Ask me questions
  • ****
  • Posts: 472
  • Karma: 1
  • CiviCRM version: Various. See post.
  • CMS version: Drupal, Wordpress and Joomla. See post.
  • MySQL version: TBA
  • PHP version: TBA
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 06:01:57 pm
Thanks Peter. Doh!

rogical

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 06:03:54 pm
I want non-admin users can access /civicrm/admin/messageTemplates?reset=1, currently only admin can access this page.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 06:17:45 pm
Who counts as a 'normal user' and what are you wanting them to do, create Templates?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 06:18:20 pm
And perhaps as important, what don't you want them to be able to do with eg CiviMail etc
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
November 29, 2012, 06:18:46 pm
I don't think that's possible w/o some customization since all pages with civicrm/admin URL are currently permissioned for access by 'administer CiviCRM'. Might be possible to use this hook to over-ride that in a custom extension:

http://wiki.civicrm.org/confluence/display/CRMDOC42/Hook+Reference#HookReference-hook_civicrm_xmlMenu
Protect your investment in CiviCRM by  becoming a Member!

daveatkins

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
  • CiviCRM version: 4.1.6
  • CMS version: Drupal 6.28
  • MySQL version: 5.1.41
  • PHP version: 5.2.10
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 05, 2013, 01:16:29 pm
Just to clarify...are you saying that for Drupal + CiviCRM, the only way to allow a user to author and edit Message Templates is to grant them a Drupal role that includes the "administer CiviCRM" permission? That's a little more power than I want to give to someone who has just been tasked with setting up a newsletter!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 05, 2013, 02:29:57 pm
I haven't checked - but does not having that permission mean that in civimail you cannot save your code on Step 3 as a new template?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 07, 2013, 11:38:28 am
Pete - pretty sure 'administer CiviCRM' is not needed for saving new / updated message templates in CiviMail wizard (as well as the regular 'Send Email to Contacts' forms).

Dave - That is the current situation. Non-admin users can save and update message templates from w/in the CiviMail 'compose' form - but they can not access the Message Templates admin screens. I agree this doesn't seem great - but I think if we open this up a bit (add a new permission, or inherit the 'access CiviMail' permission) we might want to still limit access to the System Workflow Messages. If you're interested in working on this, ping us on IRC.
Protect your investment in CiviCRM by  becoming a Member!

daveatkins

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
  • CiviCRM version: 4.1.6
  • CMS version: Drupal 6.28
  • MySQL version: 5.1.41
  • PHP version: 5.2.10
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 12, 2013, 11:53:55 am
a fairly simple workaround is to have the users just create messages and test them until they get the template right, then have an admin copy-and-paste their final product into the templates. They don't need access to the admin template interface to develop an email template...this avoids having unfinished works in progress getting accidentally used by others who find them in the list of templates...

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 14, 2013, 12:12:59 pm
Another workaround is to give the non admin users the administer CiviCRM permissions(in drupal) and  then on this link: civicrm/admin/menu?action=update&reset=1&id=94
you can add extra permission role which is not given to the non admin users.
This would just hide the administer menu link from the non admin users, they might still have access to the other sub menu items but you can still add permission levels to those links.
« Last Edit: February 19, 2013, 12:33:52 pm by kennedy »

daveatkins

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
  • CiviCRM version: 4.1.6
  • CMS version: Drupal 6.28
  • MySQL version: 5.1.41
  • PHP version: 5.2.10
Re: normal users can't access /civicrm/admin/messageTemplates?reset=1
February 19, 2013, 08:03:55 am
there is no "administer CiviMail" permission in Drupal

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • normal users can't access /civicrm/admin/messageTemplates?reset=1

This forum was archived on 2017-11-26.