2019-07-18 -> 2021-03-05
A firewall service for the Light framework. This is a Light framework plugin.
This is part of the universe framework.
Using the planet installer via light-cli
lt install Ling.Light_Firewall
Using the uni command.
uni import Ling/Light_Firewall
Or just download it and place it where you want otherwise.
- Light_Firewall api (generated with DocTools)
- Services
This plugin provides the following services:
- firewall
The firewall service is meant to be hooked to the preroute phase of the Light instance.
Here is the content of the service configuration file:
firewall:
instance: Ling\Light_Firewall\LightFirewallService
methods:
setModules:
modules: []
# firewall module example below
# modules:
# -
# domain: *
# domain_subtract_routes:
# - /pages/b-login
# condition:
# is_logged_in_equals: false
# action:
# redirect_to_route: /pages/b-login
# --------------------------------------
# hooks
# --------------------------------------
$preroute_hub.methods.setRunners.runners:
- @service(firewall)
Learn how to configure the firewall in the conception notes.
-
1.1.6 -- 2021-05-31
- Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
-
1.1.5 -- 2021-05-11
- Update deps (by CommitWizard).
-
1.1.4 -- 2021-05-10
- Fix assets missing.
-
1.1.3 -- 2021-03-05
- update README.md, add install alternative
-
1.1.2 -- 2020-12-08
- Fix lpi-deps not using natsort.
-
1.1.1 -- 2020-12-04
- Add lpi-deps.byml file
-
1.1.0 -- 2019-11-19
- update plugin to accommodate renamed Light_ReverseRouter service
-
1.0.0 -- 2019-07-18
- initial commit