Merge branch 'master' into FE_ISSUE_754_acl
This commit is contained in:
commit
a7cba32568
2 changed files with 3 additions and 2 deletions
|
@ -211,7 +211,7 @@ public class KafkaConnectController extends AbstractController implements KafkaC
|
|||
Mono<Void> validateAccess = accessControlService.validateAccess(AccessContext.builder()
|
||||
.cluster(clusterName)
|
||||
.connect(connectName)
|
||||
.connectActions(ConnectAction.VIEW, ConnectAction.EDIT)
|
||||
.connectActions(ConnectAction.VIEW, ConnectAction.RESTART)
|
||||
.build());
|
||||
|
||||
return validateAccess.then(
|
||||
|
|
|
@ -7,7 +7,8 @@ public enum ConnectAction implements PermissibleAction {
|
|||
|
||||
VIEW,
|
||||
EDIT,
|
||||
CREATE
|
||||
CREATE,
|
||||
RESTART
|
||||
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue