Institutional Specific Dashboard

Bug #1254299 reported by Don Presant on 2013-11-23
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Robert Lyon

Bug Description

For multiple institutions, it would be very useful to give the institutional administrator the ability to directly update unique content on an institution dashboard.

Currently, this is only possible if the site has been hacked for isolated themes and the php text is updated by the webmaster .

See these discussions for more details:

https://mahara.org/interaction/forum/topic.php?id=5079

https://mahara.org/interaction/forum/topic.php?id=5671

Changed in mahara:
status: New → Confirmed
importance: Undecided → Wishlist
Robert Lyon (robertl-9) on 2013-12-18
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 1.9.0
Robert Lyon (robertl-9) wrote :

Have made a patch for this:
https://reviews.mahara.org/#/c/2829/

Steven (stevens-q) wrote :

=== Bug #1254299 Institutional Specific Dashboard ===

=== Test Plan ===
[✔] CONFIRM an institution column to the site_content table has been added
[✔] CONFIRM an 'Edit site pages' page under Admin -> Institutions that is accessible by institution admins has been added
[✔] CONFIRM an 'institution' option to the edit site pages form - this is a hidden field if user can edit only one institution has been added
[✔] CONFIRM a site pages column to the institution table On upgrade it updates the site_content table to give current data the institution on 'Mahara' has been added

**Note:**
 A user on login sees the institution site page based on what institution theme they see.
 On logout the 'lastinstitution' cookie is set allowing for them to see institution specific site pages.
 The 'No institution' (mahara) site pages can be edited either through Configure site -> Edit site pages or via Institutions -> Edit site pages if one has permission to do so.

=== Test Results ===
Confirmed that an admin user can directly update unique content for an institution dashboard ✔

**Catalyst QA Approved ✔**

Robert Lyon (robertl-9) on 2014-01-08
Changed in mahara:
status: Confirmed → In Progress

Reviewed: https://reviews.mahara.org/2829
Committed: http://gitorious.org/mahara/mahara/commit/d268d11b2d7c11a9dc48afc786aad4940e4fdb92
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit d268d11b2d7c11a9dc48afc786aad4940e4fdb92
Author: Robert Lyon <email address hidden>
Date: Wed Dec 18 11:24:11 2013 +1300

Allow site_content to be institution specific (bug #1254299)

Changes include:
- added an institution column to the site_content table
- added an 'Edit site pages' page under Admin -> Institutions
that is accessibe by institution admins
- added an 'institution' option to the edit site pages form - this is
a hidden field if user can edit only one institution.

On upgrade it updates the site_content table to give current data the
institution on 'mahara' (incl. local site pages) and for each
institution it replicates the data already in the db for the default site (excl.
local site pages) so that every site has their own versions, which can
be adjusted as one sees fit.

On creation of new institution it creates the rows in site_content
table but with the default strings (like what you see when you first
install a mahara) but sets the sitepages column in institution table
to default (mahara). On deletion of institution it removes the rows in
site_content.

A user on login sees the institution site page based on what
institution theme they see.

On logout the 'lastinstitution' cookie is set allowing for them to see
institution specific site pages.

The 'No institution' (mahara) site pages can only be edited through
Configure site -> Edit site pages.

Also allow for an institution site page to be viewed if 'institution'
variable is passed to it eg terms.php?institution=testing allowing for
another way to access info when logged out.

Change-Id: I2ed30b63c15bf676d83eb2231f48c4ca23ce8b53
Signed-off-by: Robert Lyon <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
tags: added: nominatedfeature
Robert Lyon (robertl-9) on 2014-04-22
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers