Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71621

Parent role cannot edit custom fields in child profile

XMLWordPrintable

    • MOODLE_310_STABLE
    • MOODLE_400_STABLE
    • MDL-71621-master
    • Hide
      1. As an admin go to Site administration > Users > User profile fields
      2. Create a new profile field > Text input.
      3. Add a Short name and a Name and Save changes.
      4. Create a new 'Parent' role as described in https://docs.moodle.org/310/en/Parent_role#Creating_a_new_role
      5. Create 2 users: 'student' and 'parentuser'.
      6. Assign 'Parent' role to 'parentuser' for 'student' as described in https://docs.moodle.org/310/en/Parent_role#Assigning_the_parent_to_the_student
      7. Logout and login as 'parentuser'
      8. Go to your 'Dashboard'.
      9. Click on 'Customise this page'
      10. 'Add a block' and select 'Mentees' block
      11. Click on the 'student' user name in the 'new Mentees block'
      12. Click on 'Edit profile'.
      13. Confirm there is a 'Other fields' section at the end of the form.
      14. Expand 'Other fields' section and confirm you see the custom field create at step3.
      15. Add some value to the field and Save changes.
      16. Confirm there is no error and the custom field value has been changed.

       

      Show
      As an admin go to Site administration > Users > User profile fields Create a new profile field > Text input. Add a Short name and a Name and Save changes. Create a new 'Parent' role as described in  https://docs.moodle.org/310/en/Parent_role#Creating_a_new_role Create 2 users: 'student' and 'parentuser'. Assign 'Parent' role to 'parentuser' for 'student' as described in  https://docs.moodle.org/310/en/Parent_role#Assigning_the_parent_to_the_student Logout and login as 'parentuser' Go to your 'Dashboard'. Click on 'Customise this page' 'Add a block' and select 'Mentees' block Click on the 'student' user name in the 'new Mentees block' Click on 'Edit profile'. Confirm there is a 'Other fields' section at the end of the form. Expand 'Other fields' section and confirm you see the custom field create at step3. Add some value to the field and Save changes. Confirm there is no error and the custom field value has been changed.  
    • Moppies Kanban, Moppies Kanban, Moppies Kanban

      We have the following dilemma that we don't seem to be able to solve with the current Moodle capabilities. We have created a student profile with multiple custom fields that need to be locked for students but editable for parents. We link parents to students using the parent role in user context. Parents must not be able to see the full list of students in the system.

      • When we set up a parent role with correct access rights (no access to site home and list of users), this role cannot edit and see any custom fields in their childrens'/mentees' profiles
      • When we extend the access rights, the parent can view and edit standard and custom fields BUT also has access to the full user list in site home AND gets redirected to set list after saving the profile changes of their children/mentees

      We assume this is a bug. Please advise if there is a workaround for this and when this issue will be fixed.

            amaia Amaia Anabitarte
            moniquehey Monique Heyden
            Carlos Escobedo Carlos Escobedo
            Adrian Greeve Adrian Greeve
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 50 minutes
                2h 50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.