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 dbea28e3 Don't allow modification of graduated podlings
dbea28e3 is described below

commit dbea28e374d1a1c552a6a25ee2c2c1f26afbb579
Author: Sebb <s...@apache.org>
AuthorDate: Tue May 27 22:16:10 2025 +0100

    Don't allow modification of graduated podlings
---
 www/roster/views/ppmc/main.js.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index e9a859b0..e1d2a8a3 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -20,6 +20,9 @@ class PPMC < Vue
     end
 
     if @ppmc.status == 'graduated'
+      # disable modification; may cause issues
+      @@auth.ppmc = false
+      @@auth.ipmc = false
       _div.alert.alert_danger do
         _p do
           _b 'Warning: '

Reply via email to