You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/09/18 11:50:53 UTC

[whimsy] branch master updated: Distinguish empty owner list from missing LDAP - part 2

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

sebb 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 8a5e965  Distinguish empty owner list from missing LDAP - part 2
8a5e965 is described below

commit 8a5e96544afbf0c3d8cdd0d138d648825b9381c7
Author: Sebb <se...@apache.org>
AuthorDate: Tue Sep 18 12:50:52 2018 +0100

    Distinguish empty owner list from missing LDAP - part 2
---
 www/roster/views/ppmc/main.js.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index 4b08d6b..2365a81 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -14,7 +14,7 @@ class PPMC < Vue
     end
 
     # disable modification until the project is set up
-    if @ppmc.owners.empty?
+    unless @ppmc.hasLDAP?
       @@auth.ppmc = false
       @@auth.ipmc = false
     end