You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/07/06 01:01:00 UTC

[whimsy] branch master updated: disable modification until the project is set up

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a06902a  disable modification until the project is set up
a06902a is described below

commit a06902aca597ad2508180fb09eb5d76a08d6b6e4
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Jul 5 21:00:32 2017 -0400

    disable modification until the project is set up
---
 www/roster/views/ppmc/main.js.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index c5f2a12..7e4f86b 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -13,6 +13,12 @@ class PPMC < React
       @@auth.ipmc ||= @@auth.member
     end
 
+    # disable modification until the project is set up
+    if @ppmc.owners.empty?
+      @@auth.ppmc = false
+      @@auth.ipmc = false
+    end
+
     # add jump links to main sections of page using Bootstrap nav element
     _ul.nav.nav_pills do
       _li role: "presentation" do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].