anandharaj Posted May 3, 2007 Share Posted May 3, 2007 Hi, How to hide folders from displaying for normal users?Previously (1.2.0) i set to "No Access" and they can run report which have the resources (jrxml,images,etc) under parent folder with "No Access" When i upgraded to 1.2.1, i had problems with Access Denied, then i discoved because of the parent folder set to "No Access" So, how do i simply give READ access to a particular folder and hide from display? basically i dont want end-user to see folder suck Data Source setting, Jrxml, images and etc... Link to comment Share on other sites More sharing options...
swood Posted May 3, 2007 Share Posted May 3, 2007 We have been discussing adding a RUN permission, so that a user can use a resource like a data source in a report, but not see it otherwise. Then the screens etc would only resources that the user has READ access to. This will require some mods to the RepositoryService. We are not going to get to this for the next release in June, but are aiming for the release after that. We will improve the ugly Permissions screen for the next release. ShermanJasperSoft Link to comment Share on other sites More sharing options...
javydreamercsw Posted May 18, 2007 Share Posted May 18, 2007 So basically there's no way to hide folders in this version? Contents must be granted no access to the user group so it doesn't sees the contents but the folder is still there... Link to comment Share on other sites More sharing options...
swood Posted May 19, 2007 Share Posted May 19, 2007 You can do it through the existing screens. The repository screen filters to only show reports and OLAP views. You can restrict your users to only browse reports with this screen. Repository permissions can also be applied to restrict access to individual folders. ShermanJasperSoft Link to comment Share on other sites More sharing options...
javydreamercsw Posted May 19, 2007 Share Posted May 19, 2007 An example is welcomed. As anandharaj stated the security logic changed drastically. Link to comment Share on other sites More sharing options...
UniFloripa Posted September 5, 2007 Share Posted September 5, 2007 Hi, I believe this can help!! http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=10&id=30402#30402 Patrick Heilmann Link to comment Share on other sites More sharing options...
jme14 Posted August 25, 2008 Share Posted August 25, 2008 Is there a possibility to hide folders for users (role_user) in JS 3.0?Users get confused when browsing trough folders they don't understand....Regards,Jan Meijer Link to comment Share on other sites More sharing options...
Gaby38 Posted August 25, 2008 Share Posted August 25, 2008 Hello,An other way is to do that standard users don't go to the "main" repository view when they log in. As for me, I set a welcome page according to their "role" : this welcome page is a report which reads the jasper databse to get the other roles of the logged in user and display some specific hypermlinks according to the user profil. Link to comment Share on other sites More sharing options...
swood Posted August 25, 2008 Share Posted August 25, 2008 Have a look at using permissions.If you want normal users to not see particular folders, just give them "No Access" to those folders. Then they will never see those folders in the repository manager or in the report list. ShermanJaspersoft Link to comment Share on other sites More sharing options...
jme14 Posted August 26, 2008 Share Posted August 26, 2008 Sherman WoodWrote: Have a look at using permissions. If you want normal users to not see particular folders, just give them "No Access" to those folders. Then they will never see those folders in the repository manager or in the report list. Sherman Jaspersoft When you set folders to "No Access" (like the images-folder with logo's), a user does not have permission to view reports with logo's. I am looking for a kind of "run-but-invisable" permission.Regards, Jan meijer Link to comment Share on other sites More sharing options...
anandharaj Posted September 4, 2008 Author Share Posted September 4, 2008 Hi, Just assume the directory structure as below: root <- ROLE_USER must have "Read" access - FOLDER A <- You can set this folder as "No Access" - IMAGE FILE <- By default this file will follow parent folder's permission, so please change it to "READ" access Link to comment Share on other sites More sharing options...
abalandiuk Posted October 21, 2008 Share Posted October 21, 2008 any update on this? I am also looking for that option. Link to comment Share on other sites More sharing options...
yskripch Posted October 28, 2008 Share Posted October 28, 2008 Here is what I did: If you create a parent folder and place your image folder (or any other folder) into it. Then give the parent folder "No Access" to the users but set the permission to "Read" for your image folder (or any other folder) then the reports can be ran but the user will not see those folders in the repository. Hope this helps. Link to comment Share on other sites More sharing options...
yskripch Posted October 28, 2008 Share Posted October 28, 2008 Here is what I did: 1. Create a parent folder. 2. put the folder you want inside the parent folder. 3. Set the parent folder permission to "No Access" 4. Set the child folder permission to "Read Access:" This will hide the folder from the user while allowing the items within the child folder to be accessed by the report system. Hope this helps. Link to comment Share on other sites More sharing options...
abalandiuk Posted October 28, 2008 Share Posted October 28, 2008 Thanks. This helped very much and gave me the read access I needed without exposing the folder to the user. Link to comment Share on other sites More sharing options...
huwtrimet.org Posted December 10, 2008 Share Posted December 10, 2008 I have the following folder role settingroot(folder) -> role_user -> read only---------->reports(folder) -> role_user -> read only--------------------->my dept reports(folder) - role_user -> no access------------------------------->datasource(folder) -> role_user -> read only I am on JS3.0, I suppose I understand the previous posts correctly, any user assigned to role_user can run reports under the my dept reports folder while not seeing the datasource sub-folder. But the JS3.0 is not behaving like this.Thanks in advance! Link to comment Share on other sites More sharing options...
anandharaj Posted December 11, 2008 Author Share Posted December 11, 2008 Hi, Since role_user have no access to "my dept reports" folder, sure user assigned to role_user cannot run reports under the "my dept reports" folder. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now