WCSecurityContext.userInScopedRole Does not Return the Correct Value

(Doc ID 1422228.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version: and later   [Release: 11g and later ]
Information in this document applies to any platform.


Using the following EL to know if a user is member of a role:

#{ WCSecurityContext.userInScopedRole['Moderator'] }

As a Moderator of the Space it returns true.
But when a sub space is created and inherits the role and members from parent, the same EL returns false (even if I am a moderator for the parent space).

Now if unchecking the Inherit security form Parent on the General setting page of the Sub Space, then it works as expected.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms