-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feat: #751 show all workspaces to admin #820
Conversation
Ran into this bug: The delete workspace endpoint has the same problem. I think this bug needs to be fixed in this PR as well. |
…rovided convert @ to __at__ to match file system
… do with migration and copying
I'm suspecting the quality gate above is the right one, not the one in the "checks" part, as that one shows files that were not touched. |
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.
code looks good, jus small comments.
Will test now.
N.B. I understood file system doesn't care about special characters like umlauts. But you might need to address these? [- _ + ! # $ % & ' * / = ? ^ { | } ~] which as I understand are technically legal or at least confusing as they have special meanings.?
@@ -29,7 +28,8 @@ public void onApplicationEvent(@NotNull AbstractAuthenticationEvent event) { | |||
private void onAuthenticationSuccessEvent(AuthenticationSuccessEvent event) { | |||
publish( | |||
new AuditEvent( | |||
getUser(event.getAuthentication().getPrincipal()), | |||
UserInformationRetriever.getUserIdentifierFromPrincipal( |
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.
waarom heb je deze nieuwe functie niet ook gewoon getUser genoemd? Dat had flink wat code changes verborgen ;-)
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.
Goede vraag. Ga ik aanpassen haha
} | ||
|
||
static String getUserBucketName(Principal principal) { | ||
String userIdentifier = getUserIdentifierFromPrincipal(principal).replace("@", "__at__"); |
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.
you tested against weird email adresses?
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.
Probably not, I can add in some tests
087868c
to
0efa460
Compare
|
New PR because old one got tangled up with the docs PR for some reason.
how to test:
todo: