mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #66867
[Bug 1973479] A change has been merged
Reviewed: https://reviews.mahara.org/c/mahara/+/12782
Committed: https://git.mahara.org/mahara/mahara/commit/445a967017ae11d84c4499af650fc8c720225f2a
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch: main
commit 445a967017ae11d84c4499af650fc8c720225f2a
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Mon May 16 09:48:47 2022 +1200
Bug 1973479: Secret URLs not working when page submitted
Calling group_user_can_assess_submitted_views() when logged out throws
a warning so we need to check that we are logged in before calling
this function
Change-Id: Idd1034b2e0a86425e87069e3a78e2cb1f8b8207f
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1973479
Title:
Secret URL not working when page is submitted
Status in Mahara:
Fix Committed
Status in Mahara 21.10 series:
In Progress
Status in Mahara 22.04 series:
In Progress
Status in Mahara 22.10 series:
Fix Committed
Bug description:
Doing the following steps causes an error
1) Log in as admin
2) Create a group that allows submissions
3) Add normal user to group
4) Log in as normal user
5) Create a page and share it via a secret URL - copy link
6) Submit the page to the group
7) Log out
8) Visit the page via the secret URL
Get warning "[InvalidArgumentException]: group_user_access: user
argument should be an integer"
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1973479/+subscriptions
References