Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Problem with inherited Rights

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Problem with inherited Rights


Chronological Thread 
  • From: Tibor Rudas <>
  • To: " Mailing List" <>
  • Subject: [grouper-users] Problem with inherited Rights
  • Date: Mon, 18 May 2020 14:57:30 +0200

Dear all!

Here @univie.ac.at we're still working up our way to take a lengthy
upgrade path up to 2.4 (we will go up to 2.5 once the containerized
version runs in OpenShift, but we don't want to reschedule the upgrade
as it is already quite overdue :) ).

We have run into another snag: As member of the sysadmin group all is
well... but when you try to use grouper as a 'normal' user you run into
problems creating a group in a folder where you should have create
group permissions...

I have traced is as far as that this only occurs when you get these
permissions due to inheritance - not if they are assigned directly to a
folder (regardless if the permissions are inherited for the
subject itself or a group the subject is a member of).

What happens is that the 'Privileges' tab will show you, that you have
permissions to create a group. The 'create new group' quickbutton as
well as the 'more actions' -> 'create new group' will offer you to
create a new group but fail to save it with the message:

Error creating group: Problem in HibernateSession: HibernateSession
(2dd5b9b5): notNew, notReadonly, READ_WRITE_NEW, activeTransaction,
session (5195560a), Problem in HibernateSession: HibernateSession
(29488279): new, notReadonly, READ_WRITE_NEW, notActiveTransaction,
session (5195560a), Problem saving group: <group-name-here>

A stacktrace can be found in the log identifying an
"edu.internet2.middleware.grouper.exception.InsufficientPrivilegeException"
as the root of all evil...

It can also be seen if one wants to see all inherited privileges as
shown in the wiki: 'Miscellaneous' -> 'Inherited privileges' - which
will result in:

Error: If stem is set, then stem scope must be set. If stem isnt set,
then stem scope must not be set: null, SUB, Problem calling method
globalInheritedPrivileges on
edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2Main

Which seems to lead me to findAllByGroupOwnerOptions (+ -Helper) in
Hib3PITMembershipViewDAO.java... but from there on I'm lost as I can't
quickly find what passes in stem and stemScope and where they are
derived from...

The version I encountered this on is grouper 2.4 with patches applied up
to patch 96 (which should be current as of today).

(Another error I see frequently in the ui-log and daemon-log is: "ERROR
Attribute def not found: etc:attribute:attestation:attestation" - but I
think that is unrelated...)


I would be grateful for any pointers as to what causes this behaviour
and how to fix it, as this is a showstopper for our upgrade :)

Kind regards,
Tibor Rudas



Archive powered by MHonArc 2.6.19.

Top of Page