First of all, please forgive my ignorance as I am new to Salesforce's Lightning app/component.
I just would like to ask, how do you restrict a lightning app based on profile or permission set? For example you have a Lightning app called "SalesForecaster.app" and you want it to be accessible only to users with "Account Executive" profile/permission set, where do you set that up?
Because right now, the app is accessible via
[your_salesforce_instance]/c/SalesFocecaster.app by any user.
Heck it is even accessible via community like
[community_domain].force.com/[community_site]/c/SalesFocecaster.app by community-license users.
Hope you can help me.