3296: When invoking sudo operations, skip profile check. Profile check is problematic...
authorradhika <radhika@curoverse.com>
Tue, 5 Aug 2014 18:59:17 +0000 (14:59 -0400)
committerradhika <radhika@curoverse.com>
Tue, 5 Aug 2014 18:59:17 +0000 (14:59 -0400)
commit602a0e46ee210602bb9606695808f7035e1336d9
treec3f046f322843e4fcb7a2b32289aa007484ae9d0
parent1c61d2595c8489bc577128156f78d57fa4c85b53
3296: When invoking sudo operations, skip profile check. Profile check is problematic when an admin user does "login as" a different user who has no profile set because after login as that user, the profile page is displayed and needs to be filled. To address this, send an additional "skip_profile" parameter when doing a "login as" or any other sudo operations.
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/users_controller.rb