fleet/website/config/policies.js
Eric 8658e4f1ec
Website: Software management landing page (#23961)
Closes: #23890

Changes:
- Updated the styles, layout and content of the
/vulnerability-management page to match the latest wireframes
- Renamed the /vulnerability-management page to /software-management
- Added a redirect for the /vulnerability-management page that takes
users to the /software-management page with all query parameters.
2024-11-20 18:54:36 +09:00

61 lines
1.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',
// 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,
'view-query-detail': true,
'view-query-library': 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,
'view-osquery-table-details': 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-endpoint-ops': 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-testimonials': true,
};