Index: openacs-4/packages/cms/www/modules/items/templates-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/templates-oracle.xql,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/cms/www/modules/items/templates-oracle.xql 13 Apr 2005 20:15:19 -0000 1.2 +++ openacs-4/packages/cms/www/modules/items/templates-oracle.xql 23 May 2005 01:50:23 -0000 1.2.2.1 @@ -24,7 +24,7 @@ select template_id, use_context, content_item.get_path( template_id ) path, - cms_permission.permission_p( template_id, :user_id, 'cm_examine') + acs_permission.permission_p( template_id, :user_id, 'read') as can_read_template from cr_item_template_map t @@ -43,7 +43,7 @@ select template_id, use_context, is_default, content_item.get_path( template_id ) path, - cms_permission.permission_p( template_id, :user_id, 'cm_examine') + acs_permission.permission_p( template_id, :user_id, 'read') as can_read_template, (select 1 from Index: openacs-4/packages/cms/www/modules/items/templates-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/templates-postgresql.xql,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/cms/www/modules/items/templates-postgresql.xql 13 Apr 2005 20:15:19 -0000 1.4 +++ openacs-4/packages/cms/www/modules/items/templates-postgresql.xql 23 May 2005 01:50:23 -0000 1.4.2.1 @@ -25,7 +25,7 @@ select template_id, use_context, content_item__get_path( template_id, null ) as path, - cms_permission__permission_p( template_id, :user_id, 'cm_examine') + acs_permission__permission_p( template_id, :user_id, 'read') as can_read_template from cr_item_template_map t @@ -44,7 +44,7 @@ select template_id, use_context, is_default, content_item__get_path( template_id, null ) as path, - cms_permission__permission_p( template_id, :user_id, 'cm_examine') + acs_permission__permission_p( template_id, :user_id, 'read') as can_read_template, (select 1 from