How to see the Policies in HierarchicalResourcePermission Java object?
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 ?