mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:15:15 +00:00
UI: Rules: Global policies, not rules.
This commit is contained in:
parent
8f80459251
commit
a85117856f
@ -39,13 +39,6 @@ CREATE TABLE rule(
|
||||
extra TEXT -- TCP flags, ICMP types, etc
|
||||
);
|
||||
|
||||
CREATE TABLE global_rule(
|
||||
global_rule_id INTEGER PRIMARY KEY,
|
||||
type INTEGER NOT NULL,
|
||||
rule_id INTEGER NOT NULL,
|
||||
order_index INTEGER NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE policy(
|
||||
policy_id INTEGER PRIMARY KEY,
|
||||
enabled BOOLEAN NOT NULL,
|
||||
@ -79,6 +72,13 @@ CREATE TABLE policy_menu_set(
|
||||
policy_id INTEGER NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE global_policy(
|
||||
global_policy_id INTEGER PRIMARY KEY,
|
||||
type INTEGER NOT NULL,
|
||||
policy_id INTEGER NOT NULL,
|
||||
order_index INTEGER NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE app_group(
|
||||
app_group_id INTEGER PRIMARY KEY,
|
||||
order_index INTEGER NOT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user