← Back to team overview

mahara-contributors team mailing list archive

[Bug 1960997] [NEW] Errors thrown when institution admin edits institution settings

 

Public bug reported:

When institution admins edit institution settings, they get thrown
errors saying index undefined for setting options only available to
admins.

Fix: Add the same check that allows those options to be displayed to
where they're checked

Steps:
- Create an institution
- Add a member as an institution admin
- Go to that institution's settings page
- Edit a setting and press 'Submit'

Expected: No errors
Actual:  Undefined index: maxuseraccounts and maxgroups

** Affects: mahara
     Importance: Undecided
     Assignee: Doris Tam (doristam)
         Status: In Progress

** Changed in: mahara
     Assignee: (unassigned) => Doris Tam (doristam)

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
    Milestone: None => 22.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1960997

Title:
  Errors thrown when institution admin edits institution settings

Status in Mahara:
  In Progress

Bug description:
  When institution admins edit institution settings, they get thrown
  errors saying index undefined for setting options only available to
  admins.

  Fix: Add the same check that allows those options to be displayed to
  where they're checked

  Steps:
  - Create an institution
  - Add a member as an institution admin
  - Go to that institution's settings page
  - Edit a setting and press 'Submit'

  Expected: No errors
  Actual:  Undefined index: maxuseraccounts and maxgroups

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1960997/+subscriptions



Follow ups