Hide application properties from user

Hi, is there any way to hide some of the application properties from certain user as I don’t want to show it to the user.

Hi @wjlee,
Application Properties are normally used by admins, and they should have access to everything.

If some users need to access some of the properties, I would probably create a new screen specifically for that. But as I don’t have enough information about your application requirements, one possible solution I can think of is to extend app properties browse screen (com.haulmont.cuba.gui.app.core.appproperties.AppPropertiesBrowse).

There you can create a custom AppPropertiesDatasource or just filter paramsDs directly as needed.

Regards,
Peterson.

2 Likes

Thanks Peterson, its working.