Skip to main content

Proxying Header Actions

This gem provides UX components to implement PMACS "proxy" operations. When running in a CEAL environment with a current_user who has the developer role, the top navigation bar will include a set of action buttons to impersonate another user, change to impersonate a different user, or end that impersonation if currently in that state.

current state action result
original user Proxy modal with person picker
proxied user Change Proxy modal with person picker
proxied user End Proxy return to original user

The modal used for these actions has the id proxy-form and is included at the bottom of the page chrome. Do not use this ID for any other object in your application.

The form in the proxy modal uses the proxy_as_user_session_path route helper, defined in the ceal-rails gem.