Clarity

  • 1.  Restrict user access to few columns in a portlet to one group

    Posted Jul 04, 2018 05:02 AM

    Hi Folks,

     

    I have a portlet with that displays project/program hierarchy data and lets say it has columns 5 columns.

    I want only users from a particular group to be able to see data in columns 4 and 5, the rest of the users should see data only in columns 1-3.

     

    Columns 4 and 5 in clarity UI are fields on a project subpage which is restricted to this group via display conditions. 

     

    Is there a way to achieve this?

     

    thanks!



  • 2.  Re: Restrict user access to few columns in a portlet to one group
    Best Answer

    Posted Jul 04, 2018 05:32 AM

    Create two versions of the portlet and give access according to your needs.
    The rights system in CA PPM does not have portlet columns rights.

    If you portlet is based on the project object and the columns are on subpage with a display condition do they really display in the portlet for all?

    I was under the impression that such columns do not display data eg. in the project list.



  • 3.  Re: Restrict user access to few columns in a portlet to one group

    Posted Jul 04, 2018 05:44 AM

    Thanks urmas!!

     

    My portlet is unfortunately not a object based one. On testing, the columns 4 and 5 displayed for all users, Hence, the question. Not sure what happens in case of an object based portlet though.

     

    Good Day!



  • 4.  Re: Restrict user access to few columns in a portlet to one group

    Posted Jul 04, 2018 06:36 AM

    If its a NSQL based portlet then "code it" into the NSQL ; return real-values when the current user is in your group, return nulls when they are not.

    ( using @WHERE:PARAM:USER_ID@ to pick up the current user's user_id )