标签: pentaho pentaho-cde pentaho-report-designer s pentaho-data-integration
我是pentaho CDE Design的新手..
如果用户或管理员登录到pentaho仪表板。
如何清除CDA缓存?
答案 0 :(得分:0)
首先要检索已记录用户的上下文:
在一个组件中,你可以这样做:
this.dashboard.context.user获取用户标识 this.dashboard.context.roles来获取用户的角色:它是一个包含' Administrator'的数组。如果用户是管理员
然后,您可以加载并显示所需的图像。