Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ACL: revert 'Username Configs' to 'All Configs'..
(sorry - my mistake - perexg)
  • Loading branch information
perexg committed Sep 1, 2014
1 parent 2746998 commit 6583122
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/html/config_access.html
Expand Up @@ -68,9 +68,10 @@
<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.
Expand Down
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -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),
},
{
Expand Down
3 changes: 2 additions & 1 deletion src/access.h
Expand Up @@ -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
Expand Down

0 comments on commit 6583122

Please sign in to comment.