mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #48665
[Bug 1763163] Re: Automatically copy group portfolio into group member accounts
Tested: in previous patch
1. Group associated with institution.
2. Group members, tutors and admins. Only group members receive copies of portfolios (pages and collections).
3. Set copy to existing members to no, save and set to yes again -> portfolio copied yet again fully into all existing accounts as expected. Fancy rules around not copying were out of scope.
4. No copies made automatically to new group members (out of scope).
-------------------------------------------------------------------------
Test that both on an upgraded site (group, members and portfolios
already exist) and on a new install in both MySQL and Postgres
A. Site to upgrade
=========================
Preconditions: Set up groups 1 and 2
-------------------------------------------------------------
1. Group 1 contains a page and a collection with 2 pages. 2 members and 1 admin.
2. Group 2 contains a page and a collection with 2 pages. 2 members, 1 tutor and 1 admin.
3. Upgrade the site to patch 8847
Test Script - Group 1: Members and Admin
-------------------------------------------------------------
1. Member sets up a page -> doesn't have option to copy to existing group members. ✔
2. Admin looks at the page and can select the copy to existing group members. ✔
3. Admin sets up a collection and copies that into existing user accounts. ✔
4. Confirm Admin and Tutors don't get portfolios copied ✔
5. Add a new member to the group. ✔
6. Confirm new group members do not get the previously copied portfolios. ✔
7. Add a new page to the group and set that to copy to existing members.
8. Confirm old members and new members to get a copy. ✔
9. Confirm The "Copy to existing group members" button switches back to "No" once the "Edit access" form was saved. ✔
10. User at a later time if set to 'Yes' again it will do the copying
11. Confirm any newer members receive a copy of all pages/collections as ✔
12. Confirm older members receive copies of any new pages / collections since the previous switching to 'No' ✔
13. Confirm that any portfolios copied only end up in group member accounts. Neither admin nor tutor ever receive copies. ✔
Group 2: Members, tutor, admin
--------------------------------
1. Run the above script logged in as Tutor
2. Confirm that the functionality is working as expected ✔
B. New site
===============
Preconditions: Set up groups 1 and 2
1. Clear out database.
2. Install patch 8847
3. Set up site.
4. Group 1 contains a page and a collection with 2 pages. 2 members and 1 admin.
5. Group 2 contains a page and a collection with 2 pages. 2 members, 1 tutor and 1 admin.
Test Script - Group 1: Members and Admin
------------------------------------------
1. Member sets up a page -> doesn't have option to copy to existing group members. ✔
2. Admin looks at the page and can select the copy to existing group members. ✔
3. Admin sets up a collection and copies that into existing user accounts. ✔
4. Add a new member to the group. ✔
5. Confirm new group members do not get the previously copied portfolios. ✔
6. Add a new page to the group and set that to copy to existing members.
7. Confirm old members and new members to get a copy. ✔
8. Confirm The "Copy to existing group members" button switches back to "No" once the "Edit access" form was saved. ✔
9. User at a later time if set to 'Yes' again it will do the copying
10. Confirm any newer members receive a copy of all pages/collections as ✔
11. Confirm older members receive copies of any new pages / collections since the previous switching to 'No' ✔
12. Confirm that any portfolios copied only end up in group member accounts. Neither admin nor tutor ever receive copies. ✔
Group 2: Members, tutor, admin
-------------------------------
1. Run the above script logged in as Tutor
2. Confirm that the functionality is working as expected ✔
Catalyst QA Approved ✔
--
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/1763163
Title:
Automatically copy group portfolio into group member accounts
Status in Mahara:
In Progress
Bug description:
It shall be possible for a group admin / tutor to create a portfolio
in a group and then push it to existing group members automatically.
A new option is added to the "Advanced options" in "Edit access" to
allow for that in a group.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1763163/+subscriptions
References