commit | 6570b571bbf3f53cf24ef2be3079bc282c445b9e | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Tue Jul 18 16:56:50 2023 +0200 |
committer | Tomáš Pecka <tomas.pecka@cesnet.cz> | Mon Jul 24 16:21:26 2023 +0200 |
tree | 1fc481c4d148fb7e975e4823ef83f8b1e8e6241e | |
parent | d90803b5821cd4b6b11b60b7e22819e437f3645b [diff] [blame] |
czechlight-cfg-fs: add NACM rules for anonymous access Depends-On: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/6373 Change-Id: Ifd7f4f9f4ff5d184a6459d3c98aa2602cbe53d5f
diff --git a/package/czechlight-cfg-fs/migrations/0005_nacm_anonymous_user.sh b/package/czechlight-cfg-fs/migrations/0005_nacm_anonymous_user.sh new file mode 100644 index 0000000..0e45c05 --- /dev/null +++ b/package/czechlight-cfg-fs/migrations/0005_nacm_anonymous_user.sh
@@ -0,0 +1,7 @@ +#!/bin/bash + +# Introduce rules for NACM anonymous access user +# ---------------------------------------------- +# Adds rules for the anonymous user access to the front of the ietf-netconf-acm:nacm/rule-list. + +sysrepocfg --datastore=startup --format=json --module=ietf-netconf-acm --edit="${MIGRATIONS_DIRECTORY}/0005_nacm_anonymous_user.json"