Updating a catalog's cube/business view permission

When a catalog is published to JReport Server, you can update the catalog's report cube, business cube and/or business view permission settings by uploading the updated authorization file from JReport Designer without re-publishing the catalog. To do this:

  1. First you should have set report cube, business cube, or business view permissions in the catalog using JReport Designer. In this case, when you save the catalog, the permission settings are also saved and they are saved in an authorization file in the same folder as the catalog file. The catalog and authorization files have the same file name but different suffixes, for example, if the catalog file is called test.cat, the authorization file is called test.auth. The authorization file is loaded by the cube/business view authorize manager of its catalog during runtime.
  2. If the catalog is not modified, you can only update the authorization file to update the permission settings either using JReport Designer or by hand.
  3. After you have updated the authorization file in JReport Designer, upload it to JReport Server from the JReport Administration page if you are an administrator:
    1. Browse to the row the catalog is in, then click the Cube Security button in the Control column.
    2. In the Cube Security dialog, first select a catalog version, and then select the updated authorization file using the Browse button.
    3. Click OK to apply the settings.

The updated authorization file will be uploaded to JReport Server and replace the old file. Then the server will invoke the method of the cube/business view authorize manager to reload all the permission settings, and the permission settings will take effect right after reloading.