diff --git a/scripts/add_person.sh b/scripts/add_person.sh index 726215d..e690a3d 100755 --- a/scripts/add_person.sh +++ b/scripts/add_person.sh @@ -15,9 +15,9 @@ mkdir -p "$path/$name/_werc" "$path/$name/blog/_werc" # Create the first config file (not under blog) cat > "$path/$name/_werc/config" <' + } + if(! ~ $#enable_cssedit 0 && check_user $cssedit_editors_groups && ~ $req_path $css_uri) { lp=$local_path lp=`{echo $lp | sed 's/index$//'} cssedit_file=$"lp$"css_file diff --git a/werc/sites/ppl.thirdculture.top/2fac/_werc/config b/werc/sites/ppl.thirdculture.top/2fac/_werc/config index 504b8b8..fb985c4 100644 --- a/werc/sites/ppl.thirdculture.top/2fac/_werc/config +++ b/werc/sites/ppl.thirdculture.top/2fac/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit 2fac +wiki_editors_groups=2fac css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/MrsHughHammersley/_werc/config b/werc/sites/ppl.thirdculture.top/MrsHughHammersley/_werc/config index a252d5d..cfa1cf4 100755 --- a/werc/sites/ppl.thirdculture.top/MrsHughHammersley/_werc/config +++ b/werc/sites/ppl.thirdculture.top/MrsHughHammersley/_werc/config @@ -1,4 +1,5 @@ extraHeaders='' conf_enable_wiki -conf_enable_cssedit nevada +conf_enable_cssedit mrshughhammersley +wiki_editors_groups=mrshughhammersley css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/MrsHughHammersley/blog/_werc/config b/werc/sites/ppl.thirdculture.top/MrsHughHammersley/blog/_werc/config index eb2b445..60fe345 100755 --- a/werc/sites/ppl.thirdculture.top/MrsHughHammersley/blog/_werc/config +++ b/werc/sites/ppl.thirdculture.top/MrsHughHammersley/blog/_werc/config @@ -1,6 +1,6 @@ conf_enable_wiki conf_enable_blog conf_blog_only_pull=0 -conf_blog_editors=nevada +conf_blog_editors=mrshughhammersley blogTitle='' blogDesc='' diff --git a/werc/sites/ppl.thirdculture.top/adil/_werc/config b/werc/sites/ppl.thirdculture.top/adil/_werc/config index 8e9d786..eb9d01a 100644 --- a/werc/sites/ppl.thirdculture.top/adil/_werc/config +++ b/werc/sites/ppl.thirdculture.top/adil/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit adil +wiki_editors_groups=adil css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/bea/_werc/config b/werc/sites/ppl.thirdculture.top/bea/_werc/config index 0daae42..56ca3d1 100644 --- a/werc/sites/ppl.thirdculture.top/bea/_werc/config +++ b/werc/sites/ppl.thirdculture.top/bea/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit bea +wiki_editors_groups=bea css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/drool/_werc/config b/werc/sites/ppl.thirdculture.top/drool/_werc/config index 58e8439..3b49496 100644 --- a/werc/sites/ppl.thirdculture.top/drool/_werc/config +++ b/werc/sites/ppl.thirdculture.top/drool/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit drool +wiki_editors_groups=drool css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/dulien/_werc/config b/werc/sites/ppl.thirdculture.top/dulien/_werc/config index e578055..26d6138 100644 --- a/werc/sites/ppl.thirdculture.top/dulien/_werc/config +++ b/werc/sites/ppl.thirdculture.top/dulien/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit dulien +wiki_editors_groups=dulien css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/geunf/_werc/config b/werc/sites/ppl.thirdculture.top/geunf/_werc/config index 8c7cd4e..ec64631 100644 --- a/werc/sites/ppl.thirdculture.top/geunf/_werc/config +++ b/werc/sites/ppl.thirdculture.top/geunf/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit geunf +wiki_editors_groups=geunf css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/iancobain/_werc/config b/werc/sites/ppl.thirdculture.top/iancobain/_werc/config index b0ff5ee..3bbbabd 100644 --- a/werc/sites/ppl.thirdculture.top/iancobain/_werc/config +++ b/werc/sites/ppl.thirdculture.top/iancobain/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit iancobain +wiki_editors_groups=iancobain css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/kaz/_werc/config b/werc/sites/ppl.thirdculture.top/kaz/_werc/config index 09c94c0..1b0ae0c 100644 --- a/werc/sites/ppl.thirdculture.top/kaz/_werc/config +++ b/werc/sites/ppl.thirdculture.top/kaz/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit kaz +wiki_editors_groups=kaz css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/q/_werc/config b/werc/sites/ppl.thirdculture.top/q/_werc/config index f5deac4..30aa828 100644 --- a/werc/sites/ppl.thirdculture.top/q/_werc/config +++ b/werc/sites/ppl.thirdculture.top/q/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit q +wiki_editors_groups=q css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/screenshare1112/_werc/config b/werc/sites/ppl.thirdculture.top/screenshare1112/_werc/config index 6b1f83a..882a720 100755 --- a/werc/sites/ppl.thirdculture.top/screenshare1112/_werc/config +++ b/werc/sites/ppl.thirdculture.top/screenshare1112/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki -conf_enable_cssedit thomas +conf_enable_cssedit screenshare1112 +wiki_editors_groups=screenshare1112 css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/screenshare1112/blog/_werc/config b/werc/sites/ppl.thirdculture.top/screenshare1112/blog/_werc/config index 9e95596..75c1f7d 100755 --- a/werc/sites/ppl.thirdculture.top/screenshare1112/blog/_werc/config +++ b/werc/sites/ppl.thirdculture.top/screenshare1112/blog/_werc/config @@ -1,6 +1,6 @@ conf_enable_wiki conf_enable_blog conf_blog_only_pull=0 -conf_blog_editors=thomas +conf_blog_editors=screenshare1112 blogTitle='' blogDesc='' diff --git a/werc/sites/ppl.thirdculture.top/sean/_werc/config b/werc/sites/ppl.thirdculture.top/sean/_werc/config index 6d727ab..2f946c4 100644 --- a/werc/sites/ppl.thirdculture.top/sean/_werc/config +++ b/werc/sites/ppl.thirdculture.top/sean/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit sean +wiki_editors_groups=sean css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/vanne/_werc/config b/werc/sites/ppl.thirdculture.top/vanne/_werc/config index f719ea0..cf9504a 100644 --- a/werc/sites/ppl.thirdculture.top/vanne/_werc/config +++ b/werc/sites/ppl.thirdculture.top/vanne/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit vanne +wiki_editors_groups=vanne css_file='_werc/style.css' diff --git a/werc/sites/ppl.thirdculture.top/zacky/_werc/config b/werc/sites/ppl.thirdculture.top/zacky/_werc/config index 75414e5..d39434e 100644 --- a/werc/sites/ppl.thirdculture.top/zacky/_werc/config +++ b/werc/sites/ppl.thirdculture.top/zacky/_werc/config @@ -1,4 +1,4 @@ -extraHeaders='' conf_enable_wiki conf_enable_cssedit zacky +wiki_editors_groups=zacky css_file='_werc/style.css'