[hg] galaxy 2360: Set users to external when admin created and u...
details: http://www.bx.psu.edu/hg/galaxy/rev/2751a34dbd4b changeset: 2360:2751a34dbd4b user: Nate Coraor <nate@bx.psu.edu> date: Wed Apr 22 10:57:07 2009 -0400 description: Set users to external when admin created and use_remote_user is set 1 file(s) affected in this change: lib/galaxy/web/controllers/admin.py diffs (12 lines): diff -r 541ae0e5e599 -r 2751a34dbd4b lib/galaxy/web/controllers/admin.py --- a/lib/galaxy/web/controllers/admin.py Tue Apr 21 10:53:34 2009 -0400 +++ b/lib/galaxy/web/controllers/admin.py Wed Apr 22 10:57:07 2009 -0400 @@ -494,6 +494,8 @@ else: user = trans.app.model.User( email=email ) user.set_password_cleartext( password ) + if trans.app.config.use_remote_user: + user.external = True user.flush() trans.app.security_agent.create_private_user_role( user ) trans.app.security_agent.user_set_default_permissions( user, history=False, dataset=False )
participants (1)
-
Nate Coraor