Portals (MOSC)

MOSC Banner

How to see the Policies in HierarchicalResourcePermission Java object?

edited Apr 18, 2015 10:01AM in Portals (MOSC) 1 commentAnswered

Version : Jdeveloper 11.1.1.7.0 , Custom Webcenter Portal Application

Issue : Created a page at run time based on existing page template,  We are invoking a EL exppression in a backing bean whether to display a 'Add' button or not on a newly created page, Though logged in user has the correct roles exactly match with the Page Security access roles, User is not able to see 'Add' button.

My Question :

- SecurityContext .hasPermission(HierarchicalResourcePermission ) - Using this method to determine whether the logged in user has permission to see 'Add' button or not, this method returning false, How to debug this method ?  Why this method is returning though Resource had same roles as logged in user ? this is happening only for the pages which are created at run time ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center