--
-- Copyright (C) 2003-2004 Red Hat Inc. All Rights Reserved.
--
-- The contents of this file are subject to the CCM Public
-- License (the "License"); you may not use this file except in
-- compliance with the License. You may obtain a copy of the
-- License at http://www.redhat.com/licenses/ccmpl.html.
--
-- Software distributed under the License is distributed on an
-- "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
-- or implied. See the License for the specific language governing
-- rights and limitations under the License.
--
-- $Id: //cms/dev/sql/ccm-cms/default/upgrade/5.2.1-6.0.0/insert-cms_item_admin_privileges.sql#3 $
-- $DateTime: 2004/04/07 16:07:11 $


--- upgrade for adding CMS item admin privilege
insert into cms_privileges (
  privilege, pretty_name, sort_order, scope
) values (
  'cms_item_admin', 'Item Administration', 65, 'item'
);
insert into acs_privileges (privilege) values ('cms_item_admin');

insert into cms_privileges (
  privilege, pretty_name, sort_order, scope
) values (
  'cms_categorize_items', 'Categorize Items', 45, 'section'
);
insert into acs_privileges (privilege) values ('cms_categorize_items');
