From: <ssk...@vh...> - 2006-09-01 09:01:52
|
Author: sskracic Date: 2006-09-01 10:54:11 +0200 (Fri, 01 Sep 2006) New Revision: 1303 Added: trunk/ccm-cms/sql/ccm-cms/default/content-section/insert-acs_privilege_hierarchy.sql Modified: trunk/ccm-cms/sql/ccm-cms/oracle-se-create.sql trunk/ccm-cms/sql/ccm-cms/postgres-create.sql Log: Privilege hierarchy needs to be correctly initialised on a fresh startup. Added: trunk/ccm-cms/sql/ccm-cms/default/content-section/insert-acs_privilege_hierarchy.sql =================================================================== --- trunk/ccm-cms/sql/ccm-cms/default/content-section/insert-acs_privilege_hierarchy.sql 2006-08-31 13:12:47 UTC (rev 1302) +++ trunk/ccm-cms/sql/ccm-cms/default/content-section/insert-acs_privilege_hierarchy.sql 2006-09-01 08:54:11 UTC (rev 1303) @@ -0,0 +1,22 @@ +-- +-- Copyright (C) 2006 Red Hat Inc. All Rights Reserved. +-- +-- This library is free software; you can redistribute it and/or +-- modify it under the terms of the GNU Lesser General Public License +-- as published by the Free Software Foundation; either version 2.1 of +-- the License, or (at your option) any later version. +-- +-- This library is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-- Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public +-- License along with this library; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +-- +-- $Id$ + +insert into acs_privilege_hierarchy (privilege, child_privilege) + values ('cms_read_item', 'read'); + Property changes on: trunk/ccm-cms/sql/ccm-cms/default/content-section/insert-acs_privilege_hierarchy.sql ___________________________________________________________________ Name: svn:keywords + Id Author URL Modified: trunk/ccm-cms/sql/ccm-cms/oracle-se-create.sql =================================================================== --- trunk/ccm-cms/sql/ccm-cms/oracle-se-create.sql 2006-08-31 13:12:47 UTC (rev 1302) +++ trunk/ccm-cms/sql/ccm-cms/oracle-se-create.sql 2006-09-01 08:54:11 UTC (rev 1303) @@ -22,6 +22,7 @@ @@ default/content-section/table-cms_privileges.sql @@ default/content-section/insert-privileges.sql +@@ default/content-section/insert-acs_privilege_hierarchy.sql @@ default/content-section/index-phase_def_cycle_definition_idx.sql @@ default/content-section/index-lifecycles_definition_id_idx.sql @@ default/content-section/index-phases_definition_id_idx.sql Modified: trunk/ccm-cms/sql/ccm-cms/postgres-create.sql =================================================================== --- trunk/ccm-cms/sql/ccm-cms/postgres-create.sql 2006-08-31 13:12:47 UTC (rev 1302) +++ trunk/ccm-cms/sql/ccm-cms/postgres-create.sql 2006-09-01 08:54:11 UTC (rev 1303) @@ -22,6 +22,7 @@ \i default/content-section/table-cms_privileges.sql \i default/content-section/insert-privileges.sql +\i default/content-section/insert-acs_privilege_hierarchy.sql \i default/content-section/index-phase_def_cycle_definition_idx.sql \i default/content-section/index-lifecycles_definition_id_idx.sql \i default/content-section/index-phases_definition_id_idx.sql |