For example, only allow user_admins and sys admins to view lists of inactive users
this can be achieved using a before query business rule on sys user table
BR condition:
BR code to filter out inactive results:
this can be achieved using a before query business rule on sys user table
BR condition:
gs.getSession().isInteractive() && !gs.hasRole("admin") && !gs.hasRole("user_admin")
BR code to filter out inactive results:
current.addActiveQuery();
Comments
Post a Comment