-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1635: Display koblenz pepper in admin settings #1640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works fine. 👍
I think its a bit too complicated and unneeded states and lifecycle methods, so i added some comments for improvement
Also some restructuring in the user settings would be good i think
backend/src/main/kotlin/app/ehrenamtskarte/backend/auth/service/Authorizer.kt
Outdated
Show resolved
Hide resolved
.../src/main/kotlin/app/ehrenamtskarte/backend/auth/webservice/schema/ViewPepperQueryService.kt
Outdated
Show resolved
Hide resolved
.../src/main/kotlin/app/ehrenamtskarte/backend/auth/webservice/schema/ViewPepperQueryService.kt
Outdated
Show resolved
Hide resolved
backend/src/main/kotlin/app/ehrenamtskarte/backend/auth/service/Authorizer.kt
Outdated
Show resolved
Hide resolved
backend/src/main/kotlin/app/ehrenamtskarte/backend/auth/service/Authorizer.kt
Outdated
Show resolved
Hide resolved
d9eb2c4
to
9f642a8
Compare
# Conflicts: # administration/src/bp-modules/user-settings/UserEndpointSettings.tsx # administration/src/bp-modules/user-settings/UserSettingsController.tsx
a09a00c
to
4a0ea9b
Compare
administration/src/bp-modules/project-settings/ProjectSettingsController.tsx
Show resolved
Hide resolved
administration/src/bp-modules/project-settings/PepperSettings.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if you forgot to push your commit but i can't find the changes that resolve my issue yet, so i reopened them.
Additional in the HomeController
is a NavLink for the project settings missing
administration/src/bp-modules/project-settings/PepperSettings.tsx
Outdated
Show resolved
Hide resolved
administration/src/bp-modules/project-settings/ProjectSettingsController.tsx
Show resolved
Hide resolved
Chill. I am still working on this. I will push as soon as i am finished. |
@f1sh1918 now it is ready :) |
@ztefanie alright. then just this is missing :) |
administration/src/bp-modules/project-settings/UserEndpointSettings.tsx
Outdated
Show resolved
Hide resolved
administration/src/bp-modules/project-settings/PepperSettings.tsx
Outdated
Show resolved
Hide resolved
administration/src/bp-modules/project-settings/PepperSettings.tsx
Outdated
Show resolved
Hide resolved
backend/src/main/kotlin/app/ehrenamtskarte/backend/auth/service/Authorizer.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few minor thoughts, not yet approved to re-test if you decide to apply any of the suggestions.
But already looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works like a charm, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Short description
Added the koblenz pepper to the project admin settings.
Proposed changes
Testing
Set and unset the koblenz pepper environement var and check if it is displayed or the error message is displayed.
Resolved issues
Fixes: #1635