Skip to content
Snippets Groups Projects

support impersonating other users.

Merged Andrea Callia D'Iddio requested to merge impersonating-other-users into master
All threads resolved!

Support for impersonating other users using an impersonation operator when specifying the username.

The current impersonation operator is as. The left-hand argument is the actual user logging in, the right-hand argument is the impersonated user.

Example of how to use the operator:

image

Edited by Andrea Callia D'Iddio

Merge request reports

Pipeline #329382 passed

Pipeline passed for 25f2362b on impersonating-other-users

Test coverage 66.00% (0.00%) from 1 job

Merged by Ivan ProcacciniIvan Procaccini 2 years ago (Nov 9, 2022 9:51am UTC)

Merge details

  • Changes merged into with eb86bb8c.
  • Deleted the source branch.

Pipeline #329565 passed

Pipeline passed for eb86bb8c on master

Test coverage 66.00% (0.00%) from 1 job
Deployed to produ‎ction‎ 2 years ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • d71afc2f - Style: use regular expressions to be more precise and elegant (suggested by Ivan).

    Compare with previous version

  • Andrea Callia D'Iddio changed the description

    changed the description

  • Ivan Procaccini changed title from WIP: support impersonating other users. to support impersonating other users.

    changed title from WIP: support impersonating other users. to support impersonating other users.

  • added 1 commit

    • e6f855b8 - Improve code style (suggestion by Ivan)

    Compare with previous version

  • added 1 commit

    • 25f2362b - Fix: log in as the original user if the impersonator is not allowed to impersonate.

    Compare with previous version

  • Andrea Callia D'Iddio resolved all threads

    resolved all threads

  • Ivan Procaccini approved this merge request

    approved this merge request

  • Ivan Procaccini mentioned in commit eb86bb8c

    mentioned in commit eb86bb8c

  • Please register or sign in to reply
    Loading