Be able to delete reviewed and locked portfolios after 6 month
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
21.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
The new 'Review' block in Mahara 21.04 allows for the locking of the portfolio. However, at the moment such a portfolio cannot be deleted at all.
In the first instance, we will allow the deletion of the portfolio after 6 months. There will be a more comprehensive solution later on.
To test:
1. Create an institution template collection (set to 'Current auto-copied template') with portfolio completion.
2. Add 1 review block and set 'Lock portfolio' to 'Yes'.
3. Create a new account and run the cron so that the portfolio is created.
4. Share the portfolio with a person who can do a review.
5. Log in as the reviewer and approve the review statement.
6. As portfolio author, check that the portfolio is locked. You can't delete the portfolio.
7. Wait for 6 months ;-) or rather manipulate the locking date.
8. Run the cron again and the portfolio should be unlocked.
no longer affects: | mahara/21.10 |
tags: | added: newfeature |
tags: | removed: newfeature |
Patch for "master" branch: https:/ /reviews. mahara. org/11768