mirror of
https://github.com/fleetdm/fleet
synced 2026-05-21 07:58:31 +00:00
* create '/articles' and add 4 test articles * update build-static-content script for '/articles' * article pages * Validate article page metaData * add articles linked from header, remove test articles * update article styles * comment out /articles route, update blog post links * Move article category page to different branch for future PR * Update build-static-content.js * remove pagescript * Update deploying-fleet-on-render.md * update meta tags * lint fixes * Style & Markdown updates Made a couple of fixes to the styling and markdown. * update view action, replace route with regex, update links * authorsGitHubUserName -> authorGitHubUsername, authorsFullName -> authorFullName Co-authored-by: Mike Thomas <[email protected]>
39 lines
920 B
JavaScript
Vendored
39 lines
920 B
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',
|
|
|
|
// 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-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,
|
|
|
|
};
|