PhoenixLens.Protection (phoenix_lens v0.1.3)

Copy Markdown View Source

Runtime column protection: global, per source, and per table. Additive to config :phoenix_lens, masked_fields.

Summary

Functions

add(attrs)

column_protected?(name, source_id \\ "primary", table \\ nil)

ensure_table()

list()

names(database_id \\ "primary", tables \\ [])

names_for_sql(database_id, sql)

normalize(attrs)

reload()

remove(id)

remove_rule(scope, source_id, table_name, column_name)

rules()

scopes()

table_sql()