mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
666a616551
refs #5614 - change isPublicContext to detectPublicContext - behaviour now expands the context object out - this is a bit of a sideeffect, but this is the simplest change that makes it possible to use the context in the model layer without significant wider changes - add new access rules plugin - takes a context object as part of `forge()` & caches it on the model instance - provides helper functions for testing access rules later on |
||
---|---|---|
.. | ||
controllers/frontend | ||
middleware | ||
models_plugins | ||
server_helpers | ||
api_utils_spec.js | ||
apps_spec.js | ||
config_spec.js | ||
error_handling_spec.js | ||
filters_spec.js | ||
importer_spec.js | ||
mail_spec.js | ||
migration_spec.js | ||
permissions_spec.js | ||
rss_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_spec.js | ||
server_utils_spec.js | ||
showdown_client_integrated_spec.js | ||
sitemap_spec.js | ||
storage_local-file-store_spec.js | ||
utils_pipeline_spec.js | ||
xmlrpc_spec.js |