Jump to content
Changes to the Jaspersoft community edition download ×

Permissions


laloca

Recommended Posts

Hi there,

 

I'd like to hide "resource" directories like datasources, datatypes, images from my users home directory. If I change the permissions for directory "datasources" for ROLE_USER to no_access (which hides the directory) my users can't run a single report (Access denied).

 

Is there a solution for this behaviour? Is it possible to hide these directories from users? These directories appear to be empty to the users and therefore useless.

 

Any comments are welcome!

 

Cheers,

Susanne

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Don't know if there's a proper way to do this but as a terrible hack you can edit jsp/repository/defaultView.jsp (I think - typing from memory), to add <c: if> tags to check for the resource name and skip outputting it if it's one you don't want.

 

 

Just don't change the folder name in the repository, or upgrade over top of your changes. Those are some reasons it's a terrible hack, although the end result would just be that users could see them again, so it's not the worst.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...