mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #42954
[Bug 1672932] Re: Group member not allowed creating/editing groups can create collections
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
References