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

New groups do not get custom roles that have been added to a site's realm.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Solaris Sparc 9, Apache 2.2.4 fronting Tomcat 5.5.23

      Description

      We created a new project site then added a Student role to that site's realm. Then we created a new group and tried to add a user with the Student role to that group. It failed with no message in the UI but the Tomcat log showed:
      "WARN: .addUserRole: role undefined: Student (2007-08-01 09:33:22,166 http-80-Processor24_org.sakaiproject.authz.impl.BaseAuthzGroup)"

      We did a little digging and found that it was because the group's realm was created using the default permissions from either !site.template or !group.template.

      Adding the role to the group manually resolved the problem.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                mizematr Matt Mize (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration