Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
  2. Dec 07, 2023
  3. Dec 06, 2023
    • Egor Ivkov's avatar
      fix: set default value of max login attempts to 4 · 2be3aecf
      Egor Ivkov authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      2be3aecf
    • Yaroslav Dynnikov's avatar
      test: access control user story · 28d3d223
      Yaroslav Dynnikov authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      Tested scenarios:
      
      1. Alice is granted a privilege to create global/sharded table
      2. Alice can create, read, and write it
      3. Bob can't read it
      4. Alice grants Bob a privilege to read it
      5. Now Bob can read it, but he still can't write
      28d3d223
    • Kurdakov Alexander's avatar
      refactor: remove all privileges from role super · 45ba7392
      Kurdakov Alexander authored and Alexander Kurdakov's avatar Alexander Kurdakov committed
      45ba7392
    • Dmitry Ivanov's avatar
      feat(audit): don't print None values · 2e035654
      Dmitry Ivanov authored
      This patch adds a proper support for auxiliary fields containing `Option<T>`.
      As of now, KV pairs containing `Some(x)` will be printed as just `x`,
      while the ones with `None` won't be printed at all.
      
      Example:
      
      ```rust
      crate::audit!(
          message: "demo audit event",
          title: "example",
          severity: Low,
          test: Some(0u32),
      );
      ```
      
      ```json
      {
        "id": "1.0.1",
        "message": "demo audit event",
        "severity": "low",
        "time": "2023-12-06T17:16:51.085+0300",
        "title": "example",
        "test": "0"
      }
      ```
      
      ```rust
      crate::audit!(
          message: "demo audit event",
          title: "example",
          severity: Low,
          test: None::<i32>,
      );
      ```
      
      ```json
      {
        "id": "1.0.1",
        "message": "demo audit event",
        "severity": "low",
        "time": "2023-12-06T17:16:51.085+0300",
        "title": "example"
      }
      ```
      2e035654
  4. Dec 04, 2023
  5. Dec 03, 2023
    • Arseniy Volynets's avatar
      fix: flaky sql test with global subquery · 7bc92e89
      Arseniy Volynets authored and Georgy Moshkin's avatar Georgy Moshkin committed
      - Test fails because of timeout on socket.
      Current vshard multi storage call works
      in 2 stages:
      1. Ref needed storages
      2. Execute stored procedure on the storages
      When creating Ref on storage, vshard waits for all
      buckets to become writable, if it happens that
      rebalancer will start to move buckets, the query
      execution will freeze until rebalancing is
      done, which happens for this test sometimes.
      - Comment out the flaky test until we switch
      to new vshard multicall algorithm. Another
      solution would be to increase timeout, but
      there is no guarantee that new timeout is
      big enough: I caught this error with 5s
      timeout.
      7bc92e89
    • Georgy Moshkin's avatar
Loading