Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
caa981fe
Commit
caa981fe
authored
Sep 05, 2020
by
lukas.burgey
Browse files
Fix OIDCConfig Admin
E.g. the scopes were not editable
parent
3421b214
Pipeline
#108254
failed with stage
in 34 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
feudal/backend/admin.py
View file @
caa981fe
...
...
@@ -146,7 +146,7 @@ flush_idp.short_description = 'Delete users and vos related to the selected oidc
class
OIDCConfigAdmin
(
ModelAdmin
):
list_display
=
(
'name'
,
'client_id'
,
'issuer_uri'
,
'enabled'
)
fields
=
(
'name'
,
'client_id'
,
'client_secret'
,
'issuer_uri'
,
'enabled'
,
'scopes'
,
'userinfo_field_groups'
,
'userinfo_field_entitlements'
)
readonly_fields
=
(
'issuer_uri'
)
readonly_fields
=
(
'issuer_uri'
,
)
actions
=
(
flush_idp
,)
site
.
register
(
Group
,
GroupAdmin
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment