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

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

    XMLWordPrintable

    Details

    • 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

          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 Source Code