Skip to content

Commit

Permalink
missing go-edge-ds version bump (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
gertd authored Aug 16, 2023
1 parent 88bcbaa commit 606c699
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ require (
github.com/aserto-dev/go-authorizer v0.20.2
github.com/aserto-dev/go-directory v0.21.7
github.com/aserto-dev/go-directory-cli v0.20.13
github.com/aserto-dev/go-edge-ds v0.21.8
github.com/aserto-dev/go-edge-ds v0.21.9
github.com/aserto-dev/go-grpc v0.8.57
github.com/aserto-dev/header v0.0.5
github.com/aserto-dev/logger v0.0.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ github.com/aserto-dev/go-directory v0.21.7 h1:eJXBz5zpOSmI99T+W0V4JufYeq87TbmiUt
github.com/aserto-dev/go-directory v0.21.7/go.mod h1:xzUJUiyOcVj9B8Nd/nNYsIB0JSQps3IMuiPKejZkCnc=
github.com/aserto-dev/go-directory-cli v0.20.13 h1:TepHQflnC8/czC7vhGe2wkP/EKgyJ/Q+S3fT6jrcVz8=
github.com/aserto-dev/go-directory-cli v0.20.13/go.mod h1:wZUFVIF2gYZ7GfelEwy4ND5RX38kYqjVKEMvfo8A+xo=
github.com/aserto-dev/go-edge-ds v0.21.8 h1:iweQdItEt6rRPDBjOZu6ONF+93VvxmV1kzaWORrwqJs=
github.com/aserto-dev/go-edge-ds v0.21.8/go.mod h1:Y+i0v4GoTZA+KvTdTe6QQ8dkheM8wu05EArODelKdn4=
github.com/aserto-dev/go-edge-ds v0.21.9 h1:cfpSBT8xOYbIJJLhNMOvC22cItzuMXuxDc2tW2VBqjA=
github.com/aserto-dev/go-edge-ds v0.21.9/go.mod h1:Y+i0v4GoTZA+KvTdTe6QQ8dkheM8wu05EArODelKdn4=
github.com/aserto-dev/go-grpc v0.8.57 h1:CjQVxZ2HkBvJrfCtaDeq2kZSn2yLmRel5kHCVzqRMLs=
github.com/aserto-dev/go-grpc v0.8.57/go.mod h1:2FcclMDheTsEvYCY72o+EwTaoO0ti3/it4G6xIlzNIM=
github.com/aserto-dev/go-http-metrics v0.10.1-20221024-1 h1:nONd24V5nyJ0IIw8QE+OKv30YuHOTNbJ4FsvczLaM8o=
Expand Down
38 changes: 19 additions & 19 deletions pkg/testing/assets/assertions.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"assertions": [
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"admin"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"evil_genius"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"viewer"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"evil_genius"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"viewer"}},"expected":false},

{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"editor"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"viewer"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"editor"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"viewer"}},"expected":false},

{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"editor"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"viewer"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"editor"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"viewer"}},"expected":false},

{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"viewer"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"viewer"}},"expected":true},

{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member","object_type":"group"},"object":{"type":"group","key":"viewer"}},"expected":true},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"admin"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"evil_genius"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"editor"}},"expected":false},
{"check_relation":{"subject":{"type":"user","key":"[email protected]"},"relation":{"name":"member"},"object":{"type":"group","key":"viewer"}},"expected":true},

{"check_permission":{"subject":{"type":"user","key":"[email protected]"},"permission":{"name":"owner"},"object":{"type":"group","key":"viewer"}},"expected":false}
]
Expand Down

0 comments on commit 606c699

Please sign in to comment.