mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-27 17:00:50 +01:00
fix race condition on authorization event processing which leads to permission mismatch
This commit is contained in:
@@ -140,7 +140,7 @@ public class AuthorizationChangedEventProducer {
|
||||
*
|
||||
* @param event repository event
|
||||
*/
|
||||
@Subscribe
|
||||
@Subscribe(async = false)
|
||||
public void onEvent(RepositoryEvent event) {
|
||||
if (event.getEventType().isPost()) {
|
||||
if (isModificationEvent(event)) {
|
||||
|
||||
Reference in New Issue
Block a user