Changes: - Added a new landing page: /capex-savings <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a CapEx savings page available at `/capex-savings`. * Added guidance on device refresh cycles, hardware performance, and recommended replacement timing. * Added a savings calculator for device cost, refresh cycle, and fleet size, with estimated annual savings and assumptions. * Added responsive layouts, imagery, calls to action, and mobile-friendly calculator controls. * Added supporting content on refresh recommendations, Fleet hardware performance, and device lifecycle planning. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
88 lines
2.8 KiB
JavaScript
Vendored
88 lines
2.8 KiB
JavaScript
Vendored
/**
|
|
* Policy Mappings
|
|
* (sails.config.policies)
|
|
*
|
|
* Policies are simple functions which run **before** your actions.
|
|
*
|
|
* For more information on configuring policies, check out:
|
|
* https://sailsjs.com/docs/concepts/policies
|
|
*/
|
|
|
|
module.exports.policies = {
|
|
|
|
'*': 'is-logged-in',
|
|
'admin/*': 'is-super-admin',
|
|
'query-generator/*': 'has-query-generator-access',
|
|
'microsoft-proxy/*': true,
|
|
// Bypass the `is-logged-in` policy for:
|
|
|
|
'entrance/*': true,
|
|
'webhooks/*': true,
|
|
'account/logout': true,
|
|
'view-homepage-or-redirect': true,
|
|
'view-faq': true,
|
|
'view-contact': true,
|
|
'view-pricing': true,
|
|
'legal/view-terms': true,
|
|
'legal/view-privacy': true,
|
|
'deliver-contact-form-message': true,
|
|
'docs/*': true,
|
|
'handbook/*': true,
|
|
'download-sitemap': true,
|
|
'view-transparency': true,
|
|
'view-press-kit': true,
|
|
'deliver-demo-signup': true,
|
|
'articles/*': true,
|
|
'reports/*': true,
|
|
'try-fleet/view-sandbox-teleporter-or-redirect-because-expired-or-waitlist': true,
|
|
'create-or-update-one-newsletter-subscription': true,
|
|
'unsubscribe-from-all-newsletters': true,
|
|
'unsubscribe-from-marketing-emails': true,
|
|
'view-connect-vanta': true,
|
|
'view-vanta-authorization': true,
|
|
'create-vanta-authorization-request': true,
|
|
'view-device-management': true,
|
|
'deliver-mdm-beta-signup': true,
|
|
'deliver-apple-csr': true,
|
|
'download-rss-feed': true,
|
|
'view-software-management': true,
|
|
'deliver-mdm-demo-email': true,
|
|
'view-support': true,
|
|
'view-integrations': true,
|
|
'deliver-talk-to-us-form-submission': true,
|
|
'get-human-interpretation-from-osquery-sql': true,
|
|
'customers/view-new-license': true,
|
|
'redirect-vanta-authorization-request': true,
|
|
'view-deals': true,
|
|
'deliver-deal-registration-submission': true,
|
|
'get-est-device-certificate': true,
|
|
'view-customers': true,
|
|
'view-fleetctl-preview': true,
|
|
'get-llm-generated-configuration-profile': true,
|
|
'account/update-start-cta-visibility': true,
|
|
'microsoft-proxy/receive-redirect-from-microsoft': true,
|
|
'view-configuration-builder': true,
|
|
'android-proxy/*': true,
|
|
'microsoft-proxy/view-remediate': true,
|
|
'microsoft-proxy/view-turn-on-mdm': true,
|
|
'view-okta-conditional-access-error': true,
|
|
'view-fast-track': true,
|
|
'vpp-proxy/*': true,
|
|
'deliver-application-submission': true,
|
|
'landing-pages/*': true,
|
|
'deliver-gitops-workshop-request': true,
|
|
'view-workshops': true,
|
|
'view-deployment': true,
|
|
'view-linux-management': true,
|
|
'view-infrastructure-as-code': true,
|
|
'deliver-whitepaper-download-request': true,
|
|
'deliver-partner-registration-submission': true,
|
|
'view-partners': true,
|
|
'deliver-webinar-access-request': true,
|
|
'view-download': true,
|
|
'view-visibility-and-reporting': true,
|
|
'view-security-and-control': true,
|
|
'view-ai-in-it': true,
|
|
'view-capex-savings': true,
|
|
};
|