<commit_before>--
-- $Id: POSTGRESQL.sql,v 172.16.17.32 2003-03-05 23:26:54 dan Exp $
--
-- Copyright (c) 1998-2002 DVL Software Limited
--

--
-- users, groups, permissions for postgresql
--

--
-- for the http server
--


-- DO THIS BEFORE YOU LOAD THE DATA

create group www;
create user www with password 'password';

alter group www add user www;




-- DO THIS AFTER YOU LOAD THE DATA
--
-- select access only
--
grant select on categories                     to group www;
grant select on commit_log                     to group www;
grant select on commit_log_elements            to group www;
grant select on commit_log_port_elements       to group www;
grant select on commit_log_ports               to group www;
grant select on commits_latest                 to group www;
grant select on commits_latest_ports           to group www;
grant select on element                        to group www;
grant select on element_revision               to group www;
grant select on ports                          to group www;
grant select on ports_categories               to group www;
grant select on ports_active                   to group www;
grant select on ports_all                      to group www;
grant select on system                         to group www;
grant select on system_branch                  to group www;
grant select on system_branch_element_revision to group www;
grant select on tasks                          to group www;
grant select on user_tasks                     to group www;

--
-- select, update
--
grant select, update on housekeeping           to group www;<commit_msg>allow www to update categories<commit_after>--
-- $Id: POSTGRESQL.sql,v 172.16.31.10 2003-03-06 22:25:52 dan Exp $
--
-- Copyright (c) 1998-2002 DVL Software Limited
--

--
-- users, groups, permissions for postgresql
--

--
-- for the http server
--


-- DO THIS BEFORE YOU LOAD THE DATA

create group www;
create user www with password 'password';

alter group www add user www;




-- DO THIS AFTER YOU LOAD THE DATA
--
-- select access only
--
grant select on commit_log                     to group www;
grant select on commit_log_elements            to group www;
grant select on commit_log_port_elements       to group www;
grant select on commit_log_ports               to group www;
grant select on commits_latest                 to group www;
grant select on commits_latest_ports           to group www;
grant select on element                        to group www;
grant select on element_revision               to group www;
grant select on ports                          to group www;
grant select on ports_categories               to group www;
grant select on ports_active                   to group www;
grant select on ports_all                      to group www;
grant select on system                         to group www;
grant select on system_branch                  to group www;
grant select on system_branch_element_revision to group www;
grant select on tasks                          to group www;
grant select on user_tasks                     to group www;

--
-- select, update
--
grant select, update on categories             to group www;
grant select, update on housekeeping           to group www;
{'fraction_non_alphanumeric': 0.052080123266563944, 'fraction_numerical': 0.019106317411402157, 'mean_word_length': 1.8374125874125875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 47, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4733269', 'n_tokens_mistral': 898, 'n_tokens_neox': 781, 'n_words': 386}