Behat: Isolated institutions scripts needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
TITLE: Behat: Isolated institutions scripts needed for new functionality
BEHAT SCRIPT : Create Script feature file ->isolated_
RELATED TO: https:/
https:/
https:/
https:/
https:/
SUMMARY: Isolated institutions is a feature that allows locking down access for members of institutions so that they are separated entirely and disallow contact between members of one institution with members of another institution.
REQUIREMENTS: By turning on isolated institutions,
1) all institutions on the site are isolated
2) people from different institutions cannot
a) see each others’ profiles
b) share portfolios
c) join groups set up by non-institution members
d) send messages
e) become friends
f) only site administrators can contact everyone
3) being a member in multiple institutions is not possible
4) all self-registrations need to be confirmed by an institution or site administrator
5) public groups can only be created by site administrators
6) the “Online users” side block can only show institution members at maximum
7) profile pages are not available to all registered users
8) The site administrator can turn on the site setting “See own groups only” in Administration menu → Configure site → Site options → Group settings. This will allow regular institution members to only see groups in which they are a member and other people who are members in the same groups, restricting the contact they can have with others.
9) Institution administrators decide in the institution settings whether the online users side block shall be displayed with just the institution members or not.
10) When an institution member gains access to a profile URL from another institution member, they cannot see the page at all and receive the “Access denied” message, preventing them from even seeing the restricted profile as they should not be able to find out anything about a member of another institution.
*******
Suggested Scenarios:
Test Scenario: When Isolated institutions are turned on, The “Multiple institutions” option is disabled & The “Confirm registration” option on the site level is turned on per default
Test Scenario: people from different institutions cannot
a) see each others’ profiles
b) share portfolios
c) join groups set up by non-institution members
d) send messages
e) become friends
f) only site administrators can contact everyone
Test Scenario: being a member in multiple institutions is not possible
Test Scenario: all self-registrations need to be confirmed by an institution or site administrator
Test Scenario: public groups can only be created by site administrators
Test Scenario: the “Online users” side block can only show institution members at maximum
Test Scenario: profile pages are not available to all registered users
Test Scenario: The site administrator can turn on the site setting “See own groups only”
Test Scenario: Institution administrators decide in the institution settings whether the online users side block shall be displayed with just the institution members or not.
Test Scenario: When an institution member gains access to a profile URL from another institution member, they cannot see the page at all and receive the “Access denied” message, preventing them from even seeing the restricted profile as they should not be able to find out anything about a member of another institution.
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mahara: | |
milestone: | none → 20.04.0 |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /reviews. mahara. org/10181 /git.mahara. org/mahara/ mahara/ commit/ eb5980caef3ae85 d1b4853fb934f86 9bfd0b2c1b
Committed: https:/
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master
commit eb5980caef3ae85 d1b4853fb934f86 9bfd0b2c1b
Author: Steven Spinelli <email address hidden>
Date: Thu Jul 18 13:49:18 2019 +1200
Behat:Bug 1837340 Isolated institutions scripts needed for new functionality
Change-Id: I5b4c5009e3eae2 3b498c020850983 89537bb328f