Save authinstance associated with file_upload webservice

Bug #1954989 reported by Doris Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Doris Tam

Bug Description

When uploading a file through webservices, note which authinstance to use as one username could be linked to multiple institutions.

- Add a dropdown select in the 'Configure token' form to select 'authinstance' when the service group that the token is for has the function 'file_upload' as part of its available functions.

Tags: newfeature
Doris Tam (doristam)
Changed in mahara:
assignee: nobody → Doris Tam (doristam)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12304

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "main" branch: https://reviews.mahara.org/12315

Changed in mahara:
status: New → In Progress
importance: Undecided → Wishlist
milestone: none → 22.04.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12315
Committed: https://git.mahara.org/mahara/mahara/commit/abd47a0b079d70cd405c1e499a0b1a2705715e54
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit abd47a0b079d70cd405c1e499a0b1a2705715e54
Author: Doris Tam <email address hidden>
Date: Tue Dec 21 13:58:07 2021 +1300

Bug 1954989: Create authinstance field in webservice token config

Save authinstance to the external_tokens table when
configuring tokens that are part of a service that
allows 'file_upload' in 'mahara_user_external' class

Change-Id: I8f12ec3aa8712a916ce3366e8a7df559d3469f90

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/12304
Committed: https://git.mahara.org/mahara/mahara/commit/63232a80861b2d9f06f704cd98675b64db5ddce0
Submitter: Robert Lyon (<email address hidden>)
Branch: main

commit 63232a80861b2d9f06f704cd98675b64db5ddce0
Author: Doris Tam <email address hidden>
Date: Thu Dec 16 16:32:30 2021 +1300

Bug 1954989: Filter webservice file uploads by authinstance

When a service owner wants to upload a file to an account,
only allow uploads to accounts that are members of the
institution the webservice token's authinstance has association.

Change-Id: I1d04aa5c25f574ad4f4dbd5580923419bd57f86e

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
tags: added: newfeature
Gold (gold.catalyst)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.