[ARVADOS] updated: 1.3.0-3302-g9c68245e2
Git user
git at public.arvados.org
Mon Oct 12 19:44:11 UTC 2020
Summary of changes:
services/api/app/models/user.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 9c68245e24eb0553c2bb56c4cfbee60bda469281 (commit)
from 54e8f7060b89ff28b316883798ff6080fc3f166d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 9c68245e24eb0553c2bb56c4cfbee60bda469281
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Mon Oct 12 15:42:20 2020 -0400
16989: setup_on_activate needs to happen after update, not before
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb
index 34a123e72..6f30b27a9 100644
--- a/services/api/app/models/user.rb
+++ b/services/api/app/models/user.rb
@@ -26,7 +26,7 @@ class User < ArvadosModel
before_update :verify_repositories_empty, :if => Proc.new {
username.nil? and username_changed?
}
- before_update :setup_on_activate
+ after_update :setup_on_activate
before_create :check_auto_admin
before_create :set_initial_username, :if => Proc.new {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list