issue 2208 added grant only manager in sitemap

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11992 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-10-31 07:07:01 +00:00
parent a9b0429d9a
commit d27214c4fc
5 changed files with 14 additions and 10 deletions

View file

@ -269,7 +269,7 @@
foreach($grant_list as $grant_name => $grant_info) {
// Get the default value
$default = Context::get($grant_name.'_default');
// -1 = Log-in user only, -2 = site members only, 0 = all users
// -1 = Log-in user only, -2 = site members only, -3 = manager only, 0 = all users
if(strlen($default)){
$grant->{$grant_name}[] = $default;
continue;