** Changed in: mahara
    Milestone: 17.04.0 => 17.10.0

You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!

  Group member not allowed creating/editing groups can create

Status in Mahara:

Bug description:
  Tested on Mahara 16.10 and preview 17.04

  1. Group admin does not allow regular group members to edit / create content.
  2. Group admin creates a couple of pages.
  3. Regular group member logs in and creates a collection. They do get an 
error message:

  [WAR] 50 (lib/dml.php:277) reset() expects parameter 1 to be array, boolean 
  Call stack (most recent first):

      log_message("reset() expects parameter 1 to be array, boolean g...", 8, 
true, true, "/home/kristina/code/1610stable/htdocs/lib/dml.php", 277) at 
      error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
      reset(false) at /home/kristina/code/1610stable/htdocs/lib/dml.php:277
      count_records_sql("SELECT token FROM {view_access} WHERE view IN 
(45)...") at /home/kristina/code/1610stable/htdocs/collection/views.json.php:106

  Expected result though: Regular group member should not be able to
  create a collection as they aren't allowed to create / edit pages.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to