Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Security assignment from admin page doesn't work

  1. #1

    Default Security assignment from admin page doesn't work

    I noticed that the security modules in this version don't work in the Windows environment. I will do some more analysis and report back here.

  2. #2

    Default

    I am able to replicate this error on MacOSX as well as WinXP.

    In both cases Java 1.5 and the browser was firefox

    Here are the steps to recreate the error:

    *Launch pentaho
    *Go to Pentaho homepage
    *Click "Admin" button
    *Click Permissions
    *Navigate to any item. Get message in "Settings" box "No File selected."

    I searched through JIRA and didn't see this defect listed, but wasn't sure where it fit necessarily. with a little guidance I am happy to add this defect.

  3. #3
    Join Date
    Oct 2006
    Posts
    817

    Default

    By default, the platform has the file-based repository enabled. In order to use security, you'll need to swap in the db-based repository. Do this by changing the line in pentaho.xml from

    Code:
    <ISolutionRepository scope="session">org.pentaho.repository.filebased.solution.SolutionRepository</ISolutionRepository>
    to

    Code:
    <ISolutionRepository scope="session">com.pentaho.repository.dbbased.solution.SolutionRepository</ISolutionRepository>

  4. #4
    Join Date
    Jun 2007
    Posts
    50

    Default

    Please note that this only works with the pentaoh-demo MILESTONE build with the default Hypersonic repository.

    On another installation I chose to use the pre-configured MySQL repository during the install and this did not work.

    I will send the log file.

  5. #5
    Join Date
    Jun 2007
    Posts
    50

    Default

    I have found that the MySQL repository does not have the pro_files table which is needed for the permissions function to work.

  6. #6

    Default

    Once I make this change and use the "Subscribe" function. None of the subscriptions show up in the users workspace. I also noticed an error:

    INFO [SolutionRepositoryBase] Solution Repository name not defined in Pentaho.xml node solution-repository/db-repository-name


    Did I do something wrong?

  7. #7
    Join Date
    Jun 2005
    Posts
    115

    Default

    That INFO message is spurious and not an indication of a problem. How did you create the PRO_FILES table? By hand? There also should be a corresponding PRO_ACLS table.

    If you're using MySQL for your database are you using the MySQL version of the PCI? If you are these tables SHOULD be created for you on initial startup.

    Quote Originally Posted by zach View Post
    Once I make this change and use the "Subscribe" function. None of the subscriptions show up in the users workspace. I also noticed an error:

    INFO [SolutionRepositoryBase] Solution Repository name not defined in Pentaho.xml node solution-repository/db-repository-name


    Did I do something wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.