mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 10:52:49 +02:00
authorize: remove service account impersonate user id, email and groups (#2365)
This commit is contained in:
parent
86b56ffd37
commit
cef08a1c2d
12 changed files with 41 additions and 78 deletions
|
@ -244,7 +244,7 @@ func TestEvaluator(t *testing.T) {
|
|||
t.Run("impersonate email", func(t *testing.T) {
|
||||
t.Run("allowed", func(t *testing.T) {
|
||||
res, err := eval(t, options, []proto.Message{
|
||||
&user.ServiceAccount{
|
||||
&session.Session{
|
||||
Id: "session1",
|
||||
UserId: "user1",
|
||||
ImpersonateEmail: proto.String("a@example.com"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue