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

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.

Activity

Neal Caidin August 14, 2017 at 1:59 PM

Bulk closing issues that have not been updated since 2014 and earlier. Please reopen if this is still an issue and you have new information.

Won't Fix

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Solaris Sparc 9, Apache 2.2.4 fronting Tomcat 5.5.23

Created August 8, 2007 at 7:12 AM
Updated August 14, 2017 at 1:59 PM
Resolved August 14, 2017 at 1:59 PM