1
0
-1

I had followed this condition to filter the current user. 

 customProperties.name='#currentUser.firstName#'

We know that admin can see all the list user, but when I go to admin page, the admin page also filtering so that admin can not see all list user. How can I solved this?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      That's the point of filtering the list. Admin can see all the users from the app management console. While the app is running, filters and permissions would be enforced upon everyone (even if the logged-in user is the administrator).

      In your case, you could bypass this condition with something like "... and customProperties.id!='admin'".

      Please note since these filters support Hibernate Query Language, you can create any condition you like as far it is a valid HQL query,

      Hope this helps!

      Thanks.

      1. tricia

        like this customProperties.name = '#currentUser.firstName#' and customProperties.id!='admin' ?

      CommentAdd your comment...