Index: openacs-4/packages/news/sql/postgresql/news-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/sql/postgresql/news-create.sql,v diff -u -r1.19 -r1.19.4.1 --- openacs-4/packages/news/sql/postgresql/news-create.sql 27 Oct 2014 16:41:46 -0000 1.19 +++ openacs-4/packages/news/sql/postgresql/news-create.sql 15 Mar 2019 17:14:34 -0000 1.19.4.1 @@ -62,15 +62,15 @@ -- give the public permission to read by default - PERFORM acs_permission__grant_permission ( + PERFORM acs_permission.grant_permission ( default_context, -- object_id the_public, -- grantee_id 'news_read' -- privilege ); -- give registered users permission to upload items by default -- However, they must await approval by users with news_admin privilege - PERFORM acs_permission__grant_permission ( + PERFORM acs_permission.grant_permission ( default_context, -- object_id registered_users, -- grantee_id 'news_create' -- privilege Index: openacs-4/packages/news/sql/postgresql/news-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/news/sql/postgresql/news-drop.sql,v diff -u -r1.11 -r1.11.2.1 --- openacs-4/packages/news/sql/postgresql/news-drop.sql 31 Jan 2018 20:27:31 -0000 1.11 +++ openacs-4/packages/news/sql/postgresql/news-drop.sql 15 Mar 2019 17:14:34 -0000 1.11.2.1 @@ -115,12 +115,12 @@ registered_users := acs__magic_object_id('registered_users'); the_public := acs__magic_object_id('the_public'); - PERFORM acs_permission__revoke_permission ( + PERFORM acs_permission.revoke_permission ( default_context, -- object_id registered_users, -- grantee_id 'news_create' -- privilege ); - PERFORM acs_permission__revoke_permission ( + PERFORM acs_permission.revoke_permission ( default_context, -- object_id the_public, -- grantee_id 'news_read' -- privilege