Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Role based contraint

  1. #1

    Default Role based contraint

    I must create a role based contraint for a user in this mode:

    function_name(<user name>, <attribute 1>, ....) = 1

    This function return 1 or 0. The function is defined to Oracle level.
    How I have two problems:

    1) how can I define this function in the role based contraint ?
    2) how can I pass the <user name> of the user that execute the report ?

    The user execute the report with ad-hoc report.
    If I can not define this configuration, have have any suggestion ?


  2. #2
    Join Date
    Oct 2006


    Use Pentaho Metadata Editor to define constraints:

  3. #3


    I have seen the document, but in the document there isn't written how to call a function in the role based constraints. Can I call a function ? for example for returning the session variables ? (SESSION() ?)
    I can use only user and role function ? I have tried but they don't work. Can you send me a sample ?
    Thank you

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.