From cb2da278941eded6dab6bd0edc8941fa73dd3f60 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 23 Apr 2017 16:34:50 +0200 Subject: [PATCH] wizard: change comments for wizard ACL entries --- src/access.h | 1 + src/wizard.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/access.h b/src/access.h index 95f0a620f..bd15f3579 100644 --- a/src/access.h +++ b/src/access.h @@ -23,6 +23,7 @@ #include "htsmsg.h" #define ACCESS_DEFAULT_COMMENT "Default access entry" +#define ACCESS_WIZARD_COMMENT "Wizard access entry" struct profile; struct dvr_config; diff --git a/src/wizard.c b/src/wizard.c index af5e56bc7..d203b3722 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -323,6 +323,7 @@ static void login_changed(idnode_t *in) htsmsg_add_msg(conf, "dvr", list); htsmsg_add_bool(conf, "webui", 1); htsmsg_add_bool(conf, "admin", 1); + htsmsg_add_str(conf, "comment", ACCESS_WIZARD_COMMENT); ae = access_entry_create(NULL, conf); if (ae) { ae->ae_wizard = 1; @@ -358,6 +359,7 @@ static void login_changed(idnode_t *in) htsmsg_add_str(list, NULL, "htsp"); htsmsg_add_msg(conf, "dvr", list); htsmsg_add_bool(conf, "webui", 1); + htsmsg_add_str(conf, "comment", ACCESS_WIZARD_COMMENT); ae = access_entry_create(NULL, conf); if (ae) { ae->ae_wizard = 1; -- 2.47.2