Friday 12 December 2014

Maintaining Jasper Community Server Repository in DEV environment for Different Users for their individual Reporting work.


Maintaining Jasper Community Server Repository in DEV environment for Different Users for their individual Reporting work. 

Login into the Server with Admin privileges(As this documentation belongs to community the default username & password for 5.6 CE community is jasperadmin/jasperadmin).

1) Go to Manage section & click on Users. 

 

2) In the pop up detailed box enter the details of user as shown in below image. Let’s  assume use-1 details are 
User name = User1
Password =User1




 

3) Repeat the same for another user. Lets say the user name and password are 
User Name = User2
    Password =User2

4) Lets create 2 folders say Folder1 and Folder2

Default Folder Structure in 5.6 CE Server


 

After creating 2 folders the structure should look like below

 

5) Scenario : 
a) When the User1 logs into the Server he/she should be able to access only Folder1 but not Folder2 
b) When the User2 logs into the Server he/she should be able to access only Folder2 but not Folder1
c) When Admin logs into the server he/she can able access and have the control over all the folders & repository. 


User1 Scenario : 
1) You can do all this if you are logged into jasper server as administrator. 
2) Change the permissions for the all the folders. 
3) Lets display only Folder1 & Reports folders when User1 logs into the server. 
4) For doing the above you need to change the permissions for all the folders.

You need to do below for folders which you do not want to show for users
a) Lets take a folder “Analysis components” 
b) Right Click it -> Go to permissions by default it would display Role details. 
c) For ROLE_USER give permission as No Access and Click on Apply button tehn click on OK button(By default it shows Read Only).  

Default Permission is as below. 

After Changing the permission it should be as follows
 
e) Repeat the same for all the unwanted folders for the users. 
      i.e., ROLE_USER value should be ‘No Access” for the folders which you do  not want to show in the repository. 

5) Folder 1 
a) Role permission for ROLE_USER = No Access
b) User permission operation is User1 = Read + Write + Delete

 


 
6)  Folder 2
a) Role permission for ROLE_USER = No Access
b) User permission operation is User2 = Read + Write + Delete
(Images are not shown for this step - similar to step 5 images).

7) 
a) Login with User1 credentials (Username= User1 Password=User1)
b) Now you can able to see only the Folder1 and Reports Folder for User1


8) 
c) Login with User2 credentials (Username= User2 Password=User2)
d) Now you can able to see only the Folder2 and Reports Folder for User1.


 
I hope this helps some one who maintaining the jasper community server.

No comments:

Post a Comment