Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  1. Login to the Pentaho User Console as a Pentaho administrator.
  2. Navigate to the public folder in the myorgfinance solution.
  3. Right-click the public folder and click Properties.
  4. Click on the Share tab.
  5. Grant appropriate permissions (for example, Execute) to the role named Anonymous.
  6. Open pentahoObjects.spring.xml and change the IAclVoter implementation class to org.pentaho.platform.engine.security.acls.voter.PentahoAllowAnonymousAclVoter. Note that PentahoAllowAnonymousAclVoter does not by itself allow access by anonymous users to anything--it simply creates an anonymous token for use in voting decisions. You still have to grant access to the Anonymous role (like you did in the steps above).
    1. If your file makes use of metadata, you will need to adjust the protections accordingly. As an alternative, you can disable metadata security completely by changing the class of the bean with id IMetadataDomainRepository to org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository. This will apply for all files!
  7. Open applicationContext-spring-security.xml, located in the pentaho-solutions/system, and edit the filterInvocationInterceptor bean's objectDefinitionSource property.

    Warning: All characters between the \A and \Z must be lowercase in order for a match to occur.

    Code Block
    xml
    xml
    titleapplicationContext-spring-security.xml
    ...
    \A/viewaction.*solution.myorgfinance.*path.public.*\Z=Anonymous,Authenticated
    ...
    \A/.*\Z=Authenticated
    
    1. Example to open up ALL PRPTs:
      Code Block
      xml
      xml
      titleapplicationContext-spring-security.xml
      
      ...
      \A/js.browserlocale.js.*\Z=Anonymous,Authenticated
      \A/content/reporting.*\Z=Anonymous,Authenticated
      ...
      \A/.*\Z=Authenticated
      
  8. Restart the Pentaho BI Server.

Known Issues

Anonymous access to PRPTs doesn't work in 3.5.2