Menu

#3 Student classes in Profile, also no Classes & Grades Profile

open
nobody
None
5
2007-06-14
2007-06-14
No

As an admin, after selecting a student whose records to view, when viewing the Users/Profiles/Student profile then the classes for that student appear as Profile entries.

Also, there is no way to restrict the use of "Classes & Grades" (StudentGBGrades.php) through Profile.

The attached patch against SVN makes "Classes & Grades" appear in Parents and Students Profile.

Because student classes are specified with a program name, question mark, and class parameters, the patch also examines every Menu program which is followed by a question mark to see if the user is not allowed to use that program (it checks the "portal_exceptions" table list). So to use menu options for a program, use of the program now has to be allowed.

Also an unused variable $true is renamed $truth to avoid confusion with what is true.

One patch is to Menu.php, another to modules/Grades/Menu.php

Discussion

  • Scot Wilcoxon

    Scot Wilcoxon - 2007-06-14

    patch for Menu.php to hide question-marked program options

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-06-14

    Logged In: YES
    user_id=743553
    Originator: YES

    patch to modules/Grades/Menu.php
    File Added: GradesMenu.diff

     
  • Scot Wilcoxon

    Scot Wilcoxon - 2007-06-14

    patch to not show student classes in a Profile

     

Log in to post a comment.