mirror of https://github.com/tLDP/LDP
tweak permissions for root, for nightly scripts
This commit is contained in:
parent
c7db0cc44e
commit
60c2f2da8b
|
@ -34,6 +34,8 @@ psql ldp -f stats_cdf.sql
|
|||
|
||||
psql ldp -f license.sql
|
||||
|
||||
psql ldp -f volunteer.sql
|
||||
|
||||
#views
|
||||
psql ldp -f vw_gfdl_emails.sql
|
||||
psql ldp -f vw_gfdl_docs.sql
|
||||
|
|
|
@ -29,3 +29,5 @@ copy doc_vote from '/tmp/ldp_doc_vote.txt';
|
|||
copy stats from '/tmp/ldp_stats.txt';
|
||||
copy stats_cdf from '/tmp/ldp_stats_cdf.txt';
|
||||
copy license from '/tmp/ldp_license.txt';
|
||||
|
||||
copy volunteer from '/tmp/ldp_volunteer.txt';
|
||||
|
|
|
@ -9,4 +9,4 @@ CREATE TABLE maintainer (
|
|||
);
|
||||
|
||||
GRANT ALL ON maintainer TO "www-data";
|
||||
|
||||
GRANT SELECT ON maintainer TO root;
|
||||
|
|
|
@ -10,4 +10,4 @@ CREATE TABLE pub_status
|
|||
);
|
||||
|
||||
GRANT SELECT ON pub_status TO "www-data";
|
||||
|
||||
GRANT SELECT ON pub_status TO root;
|
||||
|
|
|
@ -9,4 +9,4 @@ CREATE TABLE review_status
|
|||
);
|
||||
|
||||
GRANT SELECT ON review_status TO "www-data";
|
||||
|
||||
GRANT SELECT ON review_status TO root;
|
||||
|
|
|
@ -21,3 +21,4 @@ copy stats to '/tmp/ldp_stats.txt';
|
|||
copy stats_cdf to '/tmp/ldp_stats_cdf.txt';
|
||||
copy subtopic to '/tmp/ldp_subtopic.txt';
|
||||
copy topic to '/tmp/ldp_topic.txt';
|
||||
copy volunteer to '/tmp/ldp_volunteer.txt';
|
||||
|
|
|
@ -4,6 +4,7 @@ CREATE TABLE volunteer (
|
|||
volunteer_id INT4 NOT NULL,
|
||||
name TEXT,
|
||||
email TEXT,
|
||||
role CHAR(10),
|
||||
|
||||
PRIMARY KEY (volunteer_id)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue