ACL: revert 'Username Configs' to 'All Configs'..

(sorry - my mistake - perexg)
This commit is contained in:
Jaroslav Kysela 2014-09-01 12:47:35 +02:00
parent 2746998859
commit 65831229c0
3 changed files with 6 additions and 4 deletions

View file

@ -68,9 +68,10 @@ The columns have the following functions:
<dd>
Enables access to all video recording functions. This also include administration of the auto recordings.
<dt>Username Configs (VR)
<dt>All Configs (VR)
<dd>
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.

View file

@ -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),
},
{

View file

@ -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