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
patch for Menu.php to hide question-marked program options
Logged In: YES
user_id=743553
Originator: YES
patch to modules/Grades/Menu.php
File Added: GradesMenu.diff
patch to not show student classes in a Profile