Commit 712f331a authored by Pavel Spirek's avatar Pavel Spirek

Removed example-data, example config file updated

parent 70b9af56
......@@ -6,6 +6,7 @@ GLOBAL:
LOG_LEVEL: "info"
LOG_DBG_MODULES: ["usr_conf_data_handlers", "knot_api", "nacm", "data"]
DATA_JSON_FILE: "/home/user/jetconf/data/example-data.json"
BACKEND_PACKAGE: "jetconf_jukebox"
HTTP_SERVER:
DOC_ROOT: "/home/user/jetconf/data/doc-root"
......
{
"ietf-netconf-acm:nacm":{
"enable-nacm":true,
"read-default":"permit",
"write-default":"deny",
"exec-default":"deny",
"groups":{
"group":[
{
"name":"admin",
"user-name":[
"alois@mail.cz"
]
}
]
},
"rule-list":[
{
"name":"admin-acl",
"group":[
"admin"
],
"rule":[
{
"name":"permit-zone-config-access",
"path":"/dns-server:dns-server/zones",
"access-operations":"create update delete",
"comment":"Users can write zone configuration",
"action":"permit"
},
{
"name":"permit-server-config-access",
"path":"/dns-server:dns-server/server-options",
"access-operations":"create update delete",
"comment":"Users can write some server options.",
"action":"permit"
},
{
"name":"permit-zone-data-access",
"path":"/dns-zones:zone-data",
"access-operations":"create update delete",
"comment":"Users can edit zone data.",
"action":"permit"
},
{
"name":"deny-something",
"path":"/dns-server:dns-server/zones/zone[domain='example.com.']/file",
"access-operations":"*",
"comment":"Users can not read this.",
"action":"deny"
}
]
}
]
},
"example-jukebox:jukebox":{
"library":{
"artist":[
{
"name":"Foo Fighters",
"album":[
{
"name":"Wasting Light",
"genre":"example-jukebox:alternative",
"year":2011,
"song":[
{
"name":"Wasting Light",
"location":"/media/foo/a7/wasting-light.mp3",
"format":"MP3",
"length":286
},
{
"name":"Rope",
"location":"/media/foo/a7/rope.mp3",
"format":"MP3",
"length":259
}
]
}
]
}
]
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment