Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42136

Avoid GradebookPage.this.role == GbRole.INSTRUCTOR and check permissions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.7, 19.2, 20.0
    • Fix Version/s: 19.3, 20.0
    • Component/s: Gradebook
    • 19 status:
      Verified
    • 12 status:
      Please Merge
    • Test Plan:
      Hide
      • Enter as admin, go to Realms tool and search site ID.
      • Give permission "gradebook.editAssignments" to TA role.
      • Go to gradebookng tool as TA.
      • The "new gradebook item" button is displayed.
      Show
      Enter as admin, go to Realms tool and search site ID. Give permission "gradebook.editAssignments" to TA role. Go to gradebookng tool as TA. The "new gradebook item" button is displayed.

      Description

      Use better return (businessService.isUserAbleToEditAssessments()); instead of GradebookPage.this.role == GbRole.INSTRUCTOR

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    jesusmmp Jesus Maria Mendez
                    Reporter:
                    jesusmmp Jesus Maria Mendez
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration