Pentaho Tools :

Pentaho C-Tools(CDE,CDF,CDA),Pentaho CE & EE Server,OLAP-Cubes,Analysis using Pivot4J, Saiku Analytics, Saiku Reporting, Ad-hoc Reporting using Interactive Reporting Tool,Dashboards,Reports using PRD, PDD,Data Integration using Kettle ETL,Data Mining usign WEKA,Integration of Servers with Databases,Mobile/iPad compatible Dashboards using Bootstrap Css,Drilldown dashboards,Interactive Dashboards

Tuesday 21 March 2017

User Based Security in Pentaho CDE Dashboards

Hi Community,

I had a request from a folk to get the dashboards and data displayed in it based on logged in user.  I have come across many threads and links from pentaho and stack over flow forums and found there was no definite procedure to implement it instead had the sentence help, so thought of documenting it and here you go.

In this article, you will quickly learn below

1) How to create parameter for loggedin user in Pentaho CDE( user session variable)
2) How to create  users and assign roles ( Power User role).
3) Hiding the CDA and CDF files for end users.
4) Technique used to display the user name on dashboard.
5) Hiding table headers using CSS script

Image : Dashboard development Story (Click on image to get best view of the content on slide)


Image-1 : (Click on image to get best view and observe logged in user and data )

Image-2 : (Click on image to get best view and observe logged in user and data )

CSS used in this dashboad : 
.sorting_disabled
{ display:none;
}


#paramUserLabel{
    margin-top:10px;
}
body{
    margin-top:25px;
}

.col-xs-2 {
    width:135px;
}



Download Source code :  Click Me
1) Presentation PPT
2) Sample data used
3) Dashboards export

Deployment procedure : Do as an admin user
1) Create "pdi_training" data base in latest postgres
2) Execute the backup file
3) Create users and assign role(s) as explained in PPT
 4) Upload the zip file and log in into the server with different users and observe user based data.


I hope it helps some one in community.! :-) 

3 comments:

  1. the files are protected by a password!!!! so, can you share the files without password

    ReplyDelete
    Replies
    1. Wow, what a great post is this ... thanks for sharing, keep share these valuable content. We are a full-service casino game development company India . We are the best casino game development company for your needs. Visit: Poker Game Development Company

      Delete
  2. Hello, you have shared a wonderful information about the Pentaho CDE Dashboards Security. I am a big fan of your blogging and love to read your blog post. Thanks for sharing this post.
    Dashboard Development Services

    ReplyDelete