No institution and Fields Locked / Unlocked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Richard Mansfield |
Bug Description
Reference : http://
We have two institutions. One is No Institution and other is ORG_NAME.
In both institutions the first name and last name are locked.
Now, if you unlock these fields in ORG_NAME institution than users in this institution should be able to change these fields in their profile. But they are not able to change these as fields are still locked for them even after unlocked in site administration.
Now, including above changes if you also unlock these fields in No Institution than users from the ORG_NAME institution are able to change these fields as they are unlocked for them.
Is it normal? Is it a bug or feature?
If it is a bug okay I can report it to tracker. Wink
If this is a feature than seems irrelevant. Laughing
Note : when these fields are unlocked in No Institutions and locked in ORG_NAME institution than users of ORG_NAME are not able to change these fields in profile. This is fair.
This bug was imported from eduforge.org, see:
https:/
Changed in mahara: | |
status: | Fix Committed → Fix Released |
I can confirm this.
looking at the function locked_ profile_ fields( ) in htdocs/ artefact/ internal/ index.php
this line: tions[] = 'mahara';
$lockinginstitu
means that the no institution or "mahara" institution is ALWAYS checked for all users - so anything locked in the noinstitution "institution" is forced for all institutions.
maybe the $lockinginstituions array should be checked to see if it's empty before adding 'mahara' as an institution to check for locking?