fleet/website/config/policies.js
Mike Thomas 732780a259
created-osquery-management-landpage (#10207)
In this PR, I have:
- created an osquery management landing page for our upcoming ad
campaign.
 
~The WIP content is where we ended up after our review session.~

~For reference, the original content can be found on Figma:

https://www.figma.com/file/Jzo81K6E4jC0mcjD4JsWM8/%F0%9F%9A%A7-fleetdm.com-(scratchpad)?node-id=389%3A0~

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-03-01 16:09:07 -08:00

60 lines
1.6 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',
// Bypass the `is-logged-in` policy for:
'entrance/*': true,
'webhooks/*': true,
'imagine/*': true,
'account/logout': true,
'view-homepage-or-redirect': true,
'view-faq': true,
'view-contact': true,
'view-get-started': true,
'view-pricing': true,
'legal/view-terms': true,
'legal/view-privacy': true,
'deliver-contact-form-message': true,
'view-query-detail': true,
'view-query-library': true,
'docs/*': true,
'handbook/*': true,
'download-sitemap': true,
'view-transparency': true,
'view-press-kit': true,
'view-platform': true,
'view-landing': true,
'deliver-demo-signup': true,
'articles/*': true,
'reports/*': true,
'view-sales-one-pager': true,
'try-fleet/view-register': true,
'try-fleet/view-sandbox-login': true,
'try-fleet/view-sandbox-teleporter-or-redirect-because-expired': true,
'create-or-update-one-newsletter-subscription': true,
'unsubscribe-from-all-newsletters': true,
'view-osquery-table-details': true,
'view-connect-vanta': true,
'view-vanta-authorization': true,
'create-vanta-authorization-request': true,
'view-fleet-mdm': true,
'deliver-mdm-beta-signup': true,
'deliver-apple-csr': true,
'download-rss-feed': true,
'view-upgrade': true,
'deliver-premium-upgrade-form': true,
'view-compliance': true,
'view-osquery-management': true,
};