I created a new app (custom_app) and installed it on my site. However, I do not want this app of mine to be displayed on the Module profile for selection. I simply don’t want anyone other than the developer to have access.
If “Api Lt” is a new module and if you want to hide then you can apply the client script.
frappe.ui.form.on('User', {
refresh(frm) {
$('div.checkbox.unit-checkbox label input[data-unit="Api Lt"]').closest('div.checkbox.unit-checkbox').hide();
}
})
Now you have to set the logic according according to the scenario.