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

Need a way to retrieve multiple roles for a user efficiently

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.7.x
    • Fix Version/s: 2.7.x
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-488

      Description

      There are cases where we need to check the roles that a given user has in a number of sites (realms). The most acute of these is in an authorization routine for OSP, where permission may be granted to roles.

      At present, the only way to check multiple roles for a single user is to retrieve each of them individually. For users who belong to many sites, this can be very expensive.

      A new method in AuthzGroupService is suggested, implemented, and tested through an updated OSP authorization flow to take advantage of the method.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bkirschn Beth Kirschner
                  Reporter:
                  noahbotimer Noah Botimer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code