private boolean localPermissionsEnabled() {
    return permissionsAccountsEnabled || permissionsNodesEnabled;
  }
Creates a PermissioningConfiguration based on the provided options.

@param jsonRpcHttpOptions The JSON-RPC HTTP options
@param rpcWebsocketOptions The RPC websocket options
@param enodeDnsConfiguration The enode DNS configuration
@param dataPath The data path
@param logger The logger
@param commandLine The command line
@return An Optional PermissioningConfiguration instance
@throws Exception If an error occurs while creating the configuration
app/src/main/java/org/hyperledger/besu/cli/options/PermissionsOptions.java