Committer: gprochaev
LJSUP-7052. Change all privs to "community_directory".U trunk/htdocs/admin/browse/add_category.bml U trunk/htdocs/admin/browse/manage_category.bml U trunk/htdocs/admin/browse/remove_category.bml
Modified: trunk/htdocs/admin/browse/add_category.bml =================================================================== --- trunk/htdocs/admin/browse/add_category.bml 2010-11-23 08:15:57 UTC (rev 17750) +++ trunk/htdocs/admin/browse/add_category.bml 2010-11-23 08:24:23 UTC (rev 17751) @@ -12,7 +12,7 @@ unless $remote; return "You are not allowed to view this page" - unless LJ::check_priv($remote, 'siteadmin', 'category_admin') || $LJ::IS_DEV_SERVER; + unless LJ::check_priv($remote, 'siteadmin', 'community_directory') || $LJ::IS_DEV_SERVER; $title = "Add New Category"; my $ret = ""; Modified: trunk/htdocs/admin/browse/manage_category.bml =================================================================== --- trunk/htdocs/admin/browse/manage_category.bml 2010-11-23 08:15:57 UTC (rev 17750) +++ trunk/htdocs/admin/browse/manage_category.bml 2010-11-23 08:24:23 UTC (rev 17751) @@ -12,7 +12,7 @@ unless $remote; return "You are not allowed to view this page" - unless LJ::check_priv($remote, 'siteadmin', 'category_admin') || $LJ::IS_DEV_SERVER; + unless LJ::check_priv($remote, 'siteadmin', 'community_directory') || $LJ::IS_DEV_SERVER; $title = "Move Category To Vertical"; my $ret = ""; Modified: trunk/htdocs/admin/browse/remove_category.bml =================================================================== --- trunk/htdocs/admin/browse/remove_category.bml 2010-11-23 08:15:57 UTC (rev 17750) +++ trunk/htdocs/admin/browse/remove_category.bml 2010-11-23 08:24:23 UTC (rev 17751) @@ -12,7 +12,7 @@ unless $remote; return "You are not allowed to view this page" - unless LJ::check_priv($remote, 'siteadmin', 'category_admin') || $LJ::IS_DEV_SERVER; + unless LJ::check_priv($remote, 'siteadmin', 'community_directory') || $LJ::IS_DEV_SERVER; $title = "Remove Category"; my $ret = "";