ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Group channel assignment keeps getting cleared

December 17, 2012 10:50pm

Subscribe [4]
  • #1 / Dec 17, 2012 10:50pm

    TonicTheAgency

    7 posts

    When I set up permissions for one group, they save correctly. However when I set up permissions for a second group, the permissions of the first group are cleared.

    Version 2.5.3

    In file system/expressionengine/controllers/cp/member.php

    Lines 2166-2181 should probably be updated to:
      if ( ! empty($channel_ids))
      {
    $this->db->where_in('channel_id', $channel_ids);
    $this->db->where('group_id', $group_id);
    $this->db->delete('channel_member_groups');
    }
      if ( ! empty($module_ids))
      {
    $this->db->where_in('module_id', $module_ids);
    $this->db->where('group_id', $group_id);
    $this->db->delete('module_member_groups');
    }
      if ( ! empty($template_ids))
      {
    $this->db->where_in('template_group_id', $template_ids);
    $this->db->where('group_id', $group_id);
    $this->db->delete('template_member_groups');
    }

  • #2 / May 13, 2013 10:24am

    Brad Powers

    2 posts

    I am also having this problem, and I noticed nobody has responded.

    Please advise, also on 2.5.3.

    Does upgrading alleviate this problem?

  • #3 / May 13, 2013 1:22pm

    Bhashkar Yadav

    727 posts

    Hi TonicTheAgency,


    You should see here https://support.ellislab.com/bugs/detail/18234

    This bug has been fixed in later versions than 2.5.3.


    Hope, it would help you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases