From 65831229c006176055c2db6bcdad51d3bc1b3ccd Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 1 Sep 2014 12:47:35 +0200 Subject: [PATCH] ACL: revert 'Username Configs' to 'All Configs'.. (sorry - my mistake - perexg) --- docs/html/config_access.html | 5 +++-- src/access.c | 2 +- src/access.h | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/html/config_access.html b/docs/html/config_access.html index 48aae483..0e6d73bc 100644 --- a/docs/html/config_access.html +++ b/docs/html/config_access.html @@ -68,9 +68,10 @@ The columns have the following functions:
Enables access to all video recording functions. This also include administration of the auto recordings. -
Username Configs (VR) +
All Configs (VR)
- Use a DVR configuration profile matched to the authorized user by name + Allow to use all DVR configuration profiles. If not set, a DVR + configuration profile matched to the authorized user by name is always used (the configuration profile must have same name as the user). If the DVR configuration profile does not exists, the default profile is used. The user is also not allowed to select another profile. diff --git a/src/access.c b/src/access.c index f31d1fdf..5876b534 100644 --- a/src/access.c +++ b/src/access.c @@ -877,7 +877,7 @@ const idclass_t access_entry_class = { { .type = PT_BOOL, .id = "dvrallcfg", - .name = "Username Configs (VR)", + .name = "All Configs (VR)", .off = offsetof(access_entry_t, ae_dvrallcfg), }, { diff --git a/src/access.h b/src/access.h index 662eef65..1cc74a2a 100644 --- a/src/access.h +++ b/src/access.h @@ -100,7 +100,8 @@ typedef struct access { #define ACCESS_FULL \ (ACCESS_STREAMING | ACCESS_ADVANCED_STREAMING | \ - ACCESS_WEB_INTERFACE | ACCESS_RECORDER | ACCESS_ADMIN) + ACCESS_WEB_INTERFACE | ACCESS_RECORDER | \ + ACCESS_RECORDER_ALL | ACCESS_ADMIN) /** * Create a new ticket for the requested resource and generate a id for it