mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-27 08:50:51 +01:00
Move authorization check to manager
This commit is contained in:
@@ -153,10 +153,8 @@ public class AuthorizationChangedEventProducer {
|
||||
|
||||
@Subscribe
|
||||
public void onEvent(NamespaceEvent event) {
|
||||
if (event.getEventType().isPost()) {
|
||||
if (isModificationEvent(event)) {
|
||||
handleNamespaceModificationEvent((NamespaceModificationEvent) event);
|
||||
}
|
||||
if (event.getEventType().isPost() && isModificationEvent(event)) {
|
||||
handleNamespaceModificationEvent((NamespaceModificationEvent) event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user