Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Unable to see users for assigning permissions in User Permissions Metadata Editor

  1. #1
    Join Date
    Feb 2008
    Posts
    10

    Default Unable to see users for assigning permissions in User Permissions Metadata Editor

    I have set custom database based authentication.

    Set the security context to JDBC and provided related details.

    I am using the login present in the Users table in that database and confirmed the credentials are picked from that table.

    However when I try to run http://localhost:8080/pentaho/serviceaction, provide user credentials, it returns an empty list of users/roles/acls in the XML.

    Similarly when I try to assign User permissions for the Physical table, in the User permission screen I do not see any users.

    Does anyone know, what step I have missed, due to which the user list does not appear?

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    The security service of the Pentaho platform needs to give back the ACLs in this format:

    Code:
    <content>
      <users>
         <user>tiffany</user>
         <user>joe</user>
         <user>suzy</user>
         <user>pat</user>
         <user>admin</user>
      </users>
      <roles>
         <role>ROLE_DEV</role>
         <role>ROLE_AUTHENTICATED</role>
         <role>ROLE_IS</role>
         <role>ROLE_ADMIN</role>
         <role>ROLE_DEVMGR</role>
         <role>ROLE_CEO</role>
         <role>ROLE_CTO</role>
      </roles>
    
      <acls>
        <acl> <name>Create</name> <mask>4</mask> </acl>
        <acl> <name>Subscribe</name> <mask>2</mask> </acl>
        <acl> <name>Update</name> <mask>8</mask> </acl>
        <acl> <name>Execute</name> <mask>1</mask> </acl>
        <acl> <name>NONE</name> <mask>0</mask> </acl>
        <acl> <name>All</name> <mask>31</mask> </acl>
        <acl> <name>Delete</name> <mask>16</mask> </acl>
      </acls>
    
    </content>
    See also: samples/content-acl.txt

    HTH,

    Matt

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.