Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rights Engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Polaris
Rights Engine
Commits
f070fd03
Commit
f070fd03
authored
11 months ago
by
Benjamin Ledel
Browse files
Options
Downloads
Patches
Plain Diff
Update file views.py
parent
3f0d11b6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#1360186
passed
11 months ago
Stage: test
Stage: build
Stage: deploy
Pipeline: FIRST_START
#1360197
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/providers/views.py
+2
-1
2 additions, 1 deletion
src/providers/views.py
with
2 additions
and
1 deletion
src/providers/views.py
+
2
−
1
View file @
f070fd03
...
...
@@ -770,7 +770,8 @@ class CreateVisualizationToken(APIView):
context_without_user
=
context
.
replace
(
"
user_
"
,
""
)
email
=
shib_connector_resolver
(
email
=
context_without_user
,
provider
=
provider
)
if
email
!=
""
:
context
=
context
.
replace
(
context_without_user
,
email
)
user
=
CustomUser
.
objects
.
filter
(
email
=
email
).
first
()
context
=
context
.
replace
(
context_without_user
,
str
(
user
.
id
)
+
"
-polaris-id@polaris.com
"
)
key
=
serialization
.
load_ssh_private_key
(
private_key
.
encode
(),
password
=
b
""
)
# use delta from settings
...
...
This diff is collapsed.
Click to expand it.
Benjamin Ledel
@benjaminLedel
mentioned in commit
3f0d11b6
·
11 months ago
mentioned in commit
3f0d11b6
mentioned in commit 3f0d11b6b1031d147b88583415eb0b5cc61bdb5d
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment