[Mahara-contributors] [Bug 1672932] Re: Group member not allowed creating/editing groups can create collections

2017-06-11 Thread Kristina Hoeppner
Yes, this was fixed recently.

** Changed in: mahara
   Status: Confirmed => Fix Released

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

-- 
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!
https://bugs.launchpad.net/bugs/1672932

Title:
  Group member not allowed creating/editing groups can create
  collections

Status in Mahara:
  Fix Released

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 
given
  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 
/home/kristina/code/1610stable/htdocs/lib/errors.php:521
  error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
Unknown:0
  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:
https://bugs.launchpad.net/mahara/+bug/1672932/+subscriptions

___
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


[Mahara-contributors] [Bug 1672932] Re: Group member not allowed creating/editing groups can create collections

2017-05-24 Thread Pramith Dayananda
Hi Kristina,

I was planning to recreate the issue so I can apply a patch, and was
unable to recreate the issue on 17.10-dev branch.

Every time the group admin not allow the group members to edit/ create
content, the regular member loose the ability to add a page/ collection.

Have I missed a step or was this fixed elsewhere, please let me know.

Thanks,
Pramith.

-- 
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!
https://bugs.launchpad.net/bugs/1672932

Title:
  Group member not allowed creating/editing groups can create
  collections

Status in Mahara:
  Confirmed

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 
given
  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 
/home/kristina/code/1610stable/htdocs/lib/errors.php:521
  error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
Unknown:0
  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:
https://bugs.launchpad.net/mahara/+bug/1672932/+subscriptions

___
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


[Mahara-contributors] [Bug 1672932] Re: Group member not allowed creating/editing groups can create collections

2017-03-20 Thread Kristina Hoeppner
** 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!
https://bugs.launchpad.net/bugs/1672932

Title:
  Group member not allowed creating/editing groups can create
  collections

Status in Mahara:
  Confirmed

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 
given
  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 
/home/kristina/code/1610stable/htdocs/lib/errors.php:521
  error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
Unknown:0
  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:
https://bugs.launchpad.net/mahara/+bug/1672932/+subscriptions

___
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