Page 1 of 1

Administration tab is not visible

PostPosted:Thu Mar 23, 2017 7:15 am
by gopalams
HI,
i have configured OpenKm with DB2 pointing to CAS with LDAP. I am able to login with okmAdmin user which has ROLE_ADMIN role but could not see Administration tab. I have set Admin visible in PROFILE table.

Attached screenshot, Please let me know whats the issue.

Thanks
Gopal

Re: Administration tab is not visible

PostPosted:Fri Mar 24, 2017 3:56 pm
by jllort
I think the user from authentication point of view it does not have ROLE_ADMIN

Write some minimal test.jsp into webapp/OpenKM for listing roles of the user:
Code: Select all
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="com.openkm.spring.PrincipalUtils" %>
<%= com.openkm.spring.PrincipalUtils.getRoles() %>