authzed 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/authzed/api/v0/acl_service_pb.rb +2 -0
- data/lib/authzed/api/v0/core_pb.rb +2 -0
- data/lib/authzed/api/v0/developer_pb.rb +1 -0
- data/lib/authzed/api/v0/namespace_pb.rb +14 -1
- data/lib/authzed/api/v0/namespace_service_pb.rb +2 -0
- data/lib/authzed/api/v0/watch_service_pb.rb +2 -0
- data/lib/authzed/api/v1/core_pb.rb +2 -0
- data/lib/authzed/api/v1/openapi_pb.rb +18 -0
- data/lib/authzed/api/v1/permission_service_pb.rb +3 -0
- data/lib/authzed/api/v1/permission_service_services_pb.rb +15 -14
- data/lib/authzed/api/v1/schema_service_pb.rb +33 -0
- data/lib/authzed/api/v1/schema_service_services_pb.rb +34 -0
- data/lib/authzed/api/v1/watch_service_pb.rb +4 -1
- data/lib/authzed/api/v1alpha1/schema_pb.rb +5 -0
- data/lib/authzed/api/v1alpha1/watchresources_service_pb.rb +46 -0
- data/lib/authzed/api/v1alpha1/watchresources_service_services_pb.rb +30 -0
- data/lib/authzed.rb +1 -12
- data/lib/validate/validate_pb.rb +4 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c84eb0a5b270d92b397e72bb0d30858b0150dfcf6926f1eb5f9a9d504413029b
|
4
|
+
data.tar.gz: 5fcc1eafdebcc07a2dc29de9eb460a2b2ccbf5a25145bba612a5d89110ae6ca5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cd40cbb79721e5f38bfc78439d81f9ebc19a292cac56e378adcee2ede4be5af7df5ab1b3777960c86f59cdecba2a519ac306cdc684e113c7f6695a31d9b68a3
|
7
|
+
data.tar.gz: 8341299464b007b8e6184fd95d55eb63cbe77625736f795677a99fbe6f1bc604409a002bae29a9805499b65c121d5df8ea3790dcec4bc6e7db642cc094de501c
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ Developers create a schema that models their permissions requirements and use a
|
|
16
16
|
Supported client API versions:
|
17
17
|
- [v1](https://docs.authzed.com/reference/api#authzedapiv1)
|
18
18
|
- [v1alpha1](https://docs.authzed.com/reference/api#authzedapiv1alpha1)
|
19
|
-
-
|
19
|
+
- "v0" - deprecated
|
20
20
|
|
21
21
|
You can find more info on each API on the [Authzed API reference documentation].
|
22
22
|
Additionally, Protobuf API documentation can be found on the [Buf Registry Authzed API repository].
|
@@ -3,7 +3,9 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'validate/validate_pb'
|
6
7
|
require 'authzed/api/v0/core_pb'
|
8
|
+
|
7
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
10
|
add_file("authzed/api/v0/acl_service.proto", :syntax => :proto3) do
|
9
11
|
add_message "authzed.api.v0.RelationTupleFilter" do
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'authzed/api/v0/core_pb'
|
7
7
|
require 'authzed/api/v0/namespace_pb'
|
8
|
+
|
8
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
10
|
add_file("authzed/api/v0/developer.proto", :syntax => :proto3) do
|
10
11
|
add_message "authzed.api.v0.FormatSchemaRequest" do
|
@@ -4,7 +4,9 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/protobuf/any_pb'
|
7
|
+
require 'validate/validate_pb'
|
7
8
|
require 'authzed/api/v0/core_pb'
|
9
|
+
|
8
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
11
|
add_file("authzed/api/v0/namespace.proto", :syntax => :proto3) do
|
10
12
|
add_message "authzed.api.v0.Metadata" do
|
@@ -22,7 +24,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
22
24
|
optional :metadata, :message, 4, "authzed.api.v0.Metadata", json_name: "metadata"
|
23
25
|
end
|
24
26
|
add_message "authzed.api.v0.TypeInformation" do
|
25
|
-
repeated :allowed_direct_relations, :message, 1, "authzed.api.v0.
|
27
|
+
repeated :allowed_direct_relations, :message, 1, "authzed.api.v0.AllowedRelation", json_name: "allowedDirectRelations"
|
28
|
+
end
|
29
|
+
add_message "authzed.api.v0.AllowedRelation" do
|
30
|
+
optional :namespace, :string, 1, json_name: "namespace"
|
31
|
+
oneof :relation_or_wildcard do
|
32
|
+
optional :relation, :string, 3, json_name: "relation"
|
33
|
+
optional :public_wildcard, :message, 4, "authzed.api.v0.AllowedRelation.PublicWildcard", json_name: "publicWildcard"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
add_message "authzed.api.v0.AllowedRelation.PublicWildcard" do
|
26
37
|
end
|
27
38
|
add_message "authzed.api.v0.UsersetRewrite" do
|
28
39
|
oneof :rewrite_operation do
|
@@ -69,6 +80,8 @@ module Authzed
|
|
69
80
|
NamespaceDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.NamespaceDefinition").msgclass
|
70
81
|
Relation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.Relation").msgclass
|
71
82
|
TypeInformation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.TypeInformation").msgclass
|
83
|
+
AllowedRelation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.AllowedRelation").msgclass
|
84
|
+
AllowedRelation::PublicWildcard = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.AllowedRelation.PublicWildcard").msgclass
|
72
85
|
UsersetRewrite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.UsersetRewrite").msgclass
|
73
86
|
SetOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.SetOperation").msgclass
|
74
87
|
SetOperation::Child = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v0.SetOperation.Child").msgclass
|
@@ -3,8 +3,10 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'validate/validate_pb'
|
6
7
|
require 'authzed/api/v0/core_pb'
|
7
8
|
require 'authzed/api/v0/namespace_pb'
|
9
|
+
|
8
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
11
|
add_file("authzed/api/v0/namespace_service.proto", :syntax => :proto3) do
|
10
12
|
add_message "authzed.api.v0.ReadConfigRequest" do
|
@@ -3,7 +3,9 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'validate/validate_pb'
|
6
7
|
require 'authzed/api/v0/core_pb'
|
8
|
+
|
7
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
10
|
add_file("authzed/api/v0/watch_service.proto", :syntax => :proto3) do
|
9
11
|
add_message "authzed.api.v0.WatchRequest" do
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: authzed/api/v1/openapi.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("authzed/api/v1/openapi.proto", :syntax => :proto3) do
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Authzed
|
14
|
+
module Api
|
15
|
+
module V1
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -3,7 +3,10 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'validate/validate_pb'
|
6
8
|
require 'authzed/api/v1/core_pb'
|
9
|
+
|
7
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
11
|
add_file("authzed/api/v1/permission_service.proto", :syntax => :proto3) do
|
9
12
|
add_message "authzed.api.v1.Consistency" do
|
@@ -8,8 +8,8 @@ module Authzed
|
|
8
8
|
module Api
|
9
9
|
module V1
|
10
10
|
module PermissionsService
|
11
|
-
# PermissionsService
|
12
|
-
#
|
11
|
+
# PermissionsService implements a set of RPCs that perform operations on
|
12
|
+
# relationships and permissions.
|
13
13
|
class Service
|
14
14
|
|
15
15
|
include ::GRPC::GenericService
|
@@ -21,22 +21,23 @@ module Authzed
|
|
21
21
|
# ReadRelationships reads a set of the relationships matching one or more
|
22
22
|
# filters.
|
23
23
|
rpc :ReadRelationships, ::Authzed::Api::V1::ReadRelationshipsRequest, stream(::Authzed::Api::V1::ReadRelationshipsResponse)
|
24
|
-
# WriteRelationships writes and/or deletes a set of specified
|
25
|
-
#
|
26
|
-
# the operation
|
24
|
+
# WriteRelationships atomically writes and/or deletes a set of specified
|
25
|
+
# relationships. An optional set of preconditions can be provided that must
|
26
|
+
# be satisfied for the operation to commit.
|
27
27
|
rpc :WriteRelationships, ::Authzed::Api::V1::WriteRelationshipsRequest, ::Authzed::Api::V1::WriteRelationshipsResponse
|
28
|
-
# DeleteRelationships deletes relationships matching one or
|
29
|
-
#
|
28
|
+
# DeleteRelationships atomically bulk deletes relationships matching one or
|
29
|
+
# more filters. An optional set of preconditions can be provided that must
|
30
|
+
# be satisfied for the operation to commit.
|
30
31
|
rpc :DeleteRelationships, ::Authzed::Api::V1::DeleteRelationshipsRequest, ::Authzed::Api::V1::DeleteRelationshipsResponse
|
31
|
-
# CheckPermission
|
32
|
-
# a
|
32
|
+
# CheckPermission determines for a given resource whether a subject computes
|
33
|
+
# to having a permission or is a direct member of a particular relation.
|
33
34
|
rpc :CheckPermission, ::Authzed::Api::V1::CheckPermissionRequest, ::Authzed::Api::V1::CheckPermissionResponse
|
34
|
-
# ExpandPermissionTree
|
35
|
-
# permission or relation
|
35
|
+
# ExpandPermissionTree reveals the graph structure for a resource's
|
36
|
+
# permission or relation. This RPC does not recurse infinitely deep and may
|
37
|
+
# require multiple calls to fully unnest a deeply nested graph.
|
36
38
|
rpc :ExpandPermissionTree, ::Authzed::Api::V1::ExpandPermissionTreeRequest, ::Authzed::Api::V1::ExpandPermissionTreeResponse
|
37
|
-
# LookupResources returns the
|
38
|
-
#
|
39
|
-
# relation.
|
39
|
+
# LookupResources returns all the resources of a given type that a subject
|
40
|
+
# can access whether via a computed permission or relation membership.
|
40
41
|
rpc :LookupResources, ::Authzed::Api::V1::LookupResourcesRequest, stream(::Authzed::Api::V1::LookupResourcesResponse)
|
41
42
|
end
|
42
43
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: authzed/api/v1/schema_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'validate/validate_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("authzed/api/v1/schema_service.proto", :syntax => :proto3) do
|
11
|
+
add_message "authzed.api.v1.ReadSchemaRequest" do
|
12
|
+
end
|
13
|
+
add_message "authzed.api.v1.ReadSchemaResponse" do
|
14
|
+
optional :schema_text, :string, 1, json_name: "schemaText"
|
15
|
+
end
|
16
|
+
add_message "authzed.api.v1.WriteSchemaRequest" do
|
17
|
+
optional :schema, :string, 1, json_name: "schema"
|
18
|
+
end
|
19
|
+
add_message "authzed.api.v1.WriteSchemaResponse" do
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
module Authzed
|
25
|
+
module Api
|
26
|
+
module V1
|
27
|
+
ReadSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1.ReadSchemaRequest").msgclass
|
28
|
+
ReadSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1.ReadSchemaResponse").msgclass
|
29
|
+
WriteSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1.WriteSchemaRequest").msgclass
|
30
|
+
WriteSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1.WriteSchemaResponse").msgclass
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: authzed/api/v1/schema_service.proto for package 'authzed.api.v1'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'authzed/api/v1/schema_service_pb'
|
6
|
+
|
7
|
+
module Authzed
|
8
|
+
module Api
|
9
|
+
module V1
|
10
|
+
module SchemaService
|
11
|
+
# SchemaService implements operations on a Permissions System's Schema.
|
12
|
+
class Service
|
13
|
+
|
14
|
+
include ::GRPC::GenericService
|
15
|
+
|
16
|
+
self.marshal_class_method = :encode
|
17
|
+
self.unmarshal_class_method = :decode
|
18
|
+
self.service_name = 'authzed.api.v1.SchemaService'
|
19
|
+
|
20
|
+
# Read returns the current Object Definitions for a Permissions System.
|
21
|
+
#
|
22
|
+
# Errors include:
|
23
|
+
# - INVALID_ARGUMENT: a provided value has failed to semantically validate
|
24
|
+
# - NOT_FOUND: no schema has been defined
|
25
|
+
rpc :ReadSchema, ::Authzed::Api::V1::ReadSchemaRequest, ::Authzed::Api::V1::ReadSchemaResponse
|
26
|
+
# Write overwrites the current Object Definitions for a Permissions System.
|
27
|
+
rpc :WriteSchema, ::Authzed::Api::V1::WriteSchemaRequest, ::Authzed::Api::V1::WriteSchemaResponse
|
28
|
+
end
|
29
|
+
|
30
|
+
Stub = Service.rpc_stub_class
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -3,11 +3,14 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'validate/validate_pb'
|
6
8
|
require 'authzed/api/v1/core_pb'
|
9
|
+
|
7
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
11
|
add_file("authzed/api/v1/watch_service.proto", :syntax => :proto3) do
|
9
12
|
add_message "authzed.api.v1.WatchRequest" do
|
10
|
-
repeated :
|
13
|
+
repeated :optional_object_types, :string, 1, json_name: "optionalObjectTypes"
|
11
14
|
optional :optional_start_cursor, :message, 2, "authzed.api.v1.ZedToken", json_name: "optionalStartCursor"
|
12
15
|
end
|
13
16
|
add_message "authzed.api.v1.WatchResponse" do
|
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'validate/validate_pb'
|
7
|
+
|
6
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
9
|
add_file("authzed/api/v1alpha1/schema.proto", :syntax => :proto3) do
|
8
10
|
add_message "authzed.api.v1alpha1.ReadSchemaRequest" do
|
@@ -10,12 +12,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
10
12
|
end
|
11
13
|
add_message "authzed.api.v1alpha1.ReadSchemaResponse" do
|
12
14
|
repeated :object_definitions, :string, 1, json_name: "objectDefinitions"
|
15
|
+
optional :computed_definitions_revision, :string, 2, json_name: "computedDefinitionsRevision"
|
13
16
|
end
|
14
17
|
add_message "authzed.api.v1alpha1.WriteSchemaRequest" do
|
15
18
|
optional :schema, :string, 1, json_name: "schema"
|
19
|
+
optional :optional_definitions_revision_precondition, :string, 2, json_name: "optionalDefinitionsRevisionPrecondition"
|
16
20
|
end
|
17
21
|
add_message "authzed.api.v1alpha1.WriteSchemaResponse" do
|
18
22
|
repeated :object_definitions_names, :string, 1, json_name: "objectDefinitionsNames"
|
23
|
+
optional :computed_definitions_revision, :string, 2, json_name: "computedDefinitionsRevision"
|
19
24
|
end
|
20
25
|
end
|
21
26
|
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: authzed/api/v1alpha1/watchresources_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'validate/validate_pb'
|
8
|
+
require 'authzed/api/v1/core_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("authzed/api/v1alpha1/watchresources_service.proto", :syntax => :proto3) do
|
12
|
+
add_message "authzed.api.v1alpha1.WatchResourcesRequest" do
|
13
|
+
optional :resource_object_type, :string, 1, json_name: "resourceObjectType"
|
14
|
+
optional :permission, :string, 2, json_name: "permission"
|
15
|
+
optional :subject_object_type, :string, 3, json_name: "subjectObjectType"
|
16
|
+
optional :optional_subject_relation, :string, 4, json_name: "optionalSubjectRelation"
|
17
|
+
optional :optional_start_cursor, :message, 5, "authzed.api.v1.ZedToken", json_name: "optionalStartCursor"
|
18
|
+
end
|
19
|
+
add_message "authzed.api.v1alpha1.PermissionUpdate" do
|
20
|
+
optional :subject, :message, 1, "authzed.api.v1.SubjectReference", json_name: "subject"
|
21
|
+
optional :resource, :message, 2, "authzed.api.v1.ObjectReference", json_name: "resource"
|
22
|
+
optional :relation, :string, 3, json_name: "relation"
|
23
|
+
optional :updated_permission, :enum, 4, "authzed.api.v1alpha1.PermissionUpdate.Permissionship", json_name: "updatedPermission"
|
24
|
+
end
|
25
|
+
add_enum "authzed.api.v1alpha1.PermissionUpdate.Permissionship" do
|
26
|
+
value :PERMISSIONSHIP_UNSPECIFIED, 0
|
27
|
+
value :PERMISSIONSHIP_NO_PERMISSION, 1
|
28
|
+
value :PERMISSIONSHIP_HAS_PERMISSION, 2
|
29
|
+
end
|
30
|
+
add_message "authzed.api.v1alpha1.WatchResourcesResponse" do
|
31
|
+
repeated :updates, :message, 1, "authzed.api.v1alpha1.PermissionUpdate", json_name: "updates"
|
32
|
+
optional :changes_through, :message, 2, "authzed.api.v1.ZedToken", json_name: "changesThrough"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
module Authzed
|
38
|
+
module Api
|
39
|
+
module V1alpha1
|
40
|
+
WatchResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1alpha1.WatchResourcesRequest").msgclass
|
41
|
+
PermissionUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1alpha1.PermissionUpdate").msgclass
|
42
|
+
PermissionUpdate::Permissionship = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1alpha1.PermissionUpdate.Permissionship").enummodule
|
43
|
+
WatchResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("authzed.api.v1alpha1.WatchResourcesResponse").msgclass
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: authzed/api/v1alpha1/watchresources_service.proto for package 'authzed.api.v1alpha1'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'authzed/api/v1alpha1/watchresources_service_pb'
|
6
|
+
|
7
|
+
module Authzed
|
8
|
+
module Api
|
9
|
+
module V1alpha1
|
10
|
+
module WatchResourcesService
|
11
|
+
# WatchResourcesService is used to receive a stream of updates for resources of a
|
12
|
+
# specific (resource type, permission, subject) combination.
|
13
|
+
class Service
|
14
|
+
|
15
|
+
include ::GRPC::GenericService
|
16
|
+
|
17
|
+
self.marshal_class_method = :encode
|
18
|
+
self.unmarshal_class_method = :decode
|
19
|
+
self.service_name = 'authzed.api.v1alpha1.WatchResourcesService'
|
20
|
+
|
21
|
+
# WatchResources initiates a watch for permission changes for the provided
|
22
|
+
# (resource type, permission, subject) pair.
|
23
|
+
rpc :WatchResources, ::Authzed::Api::V1alpha1::WatchResourcesRequest, stream(::Authzed::Api::V1alpha1::WatchResourcesResponse)
|
24
|
+
end
|
25
|
+
|
26
|
+
Stub = Service.rpc_stub_class
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/authzed.rb
CHANGED
@@ -1,14 +1,3 @@
|
|
1
|
-
require 'authzed/api/v0/acl_service_pb'
|
2
|
-
require 'authzed/api/v0/acl_service_services_pb'
|
3
|
-
require 'authzed/api/v0/core_pb'
|
4
|
-
require 'authzed/api/v0/developer_pb'
|
5
|
-
require 'authzed/api/v0/developer_services_pb'
|
6
|
-
require 'authzed/api/v0/namespace_pb'
|
7
|
-
require 'authzed/api/v0/namespace_service_pb'
|
8
|
-
require 'authzed/api/v0/namespace_service_services_pb'
|
9
|
-
require 'authzed/api/v0/watch_service_pb'
|
10
|
-
require 'authzed/api/v0/watch_service_services_pb'
|
11
|
-
require 'authzed/api/v0/client'
|
12
1
|
require 'authzed/api/v1alpha1/schema_pb'
|
13
2
|
require 'authzed/api/v1alpha1/schema_services_pb'
|
14
3
|
require 'authzed/api/v1alpha1/client'
|
@@ -19,4 +8,4 @@ require 'authzed/api/v1/client'
|
|
19
8
|
require 'grpcutil/bearer_token'
|
20
9
|
|
21
10
|
module Authzed
|
22
|
-
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authzed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authzed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Authzed is the best way to build robust and scalable permissions systems.
|
14
14
|
See https://authzed.com for more details.
|
@@ -33,16 +33,22 @@ files:
|
|
33
33
|
- lib/authzed/api/v0/watch_service_services_pb.rb
|
34
34
|
- lib/authzed/api/v1/client.rb
|
35
35
|
- lib/authzed/api/v1/core_pb.rb
|
36
|
+
- lib/authzed/api/v1/openapi_pb.rb
|
36
37
|
- lib/authzed/api/v1/permission_service_pb.rb
|
37
38
|
- lib/authzed/api/v1/permission_service_services_pb.rb
|
38
39
|
- lib/authzed/api/v1/schema_pb.rb
|
40
|
+
- lib/authzed/api/v1/schema_service_pb.rb
|
41
|
+
- lib/authzed/api/v1/schema_service_services_pb.rb
|
39
42
|
- lib/authzed/api/v1/schema_services_pb.rb
|
40
43
|
- lib/authzed/api/v1/watch_service_pb.rb
|
41
44
|
- lib/authzed/api/v1/watch_service_services_pb.rb
|
42
45
|
- lib/authzed/api/v1alpha1/client.rb
|
43
46
|
- lib/authzed/api/v1alpha1/schema_pb.rb
|
44
47
|
- lib/authzed/api/v1alpha1/schema_services_pb.rb
|
48
|
+
- lib/authzed/api/v1alpha1/watchresources_service_pb.rb
|
49
|
+
- lib/authzed/api/v1alpha1/watchresources_service_services_pb.rb
|
45
50
|
- lib/grpcutil/bearer_token.rb
|
51
|
+
- lib/validate/validate_pb.rb
|
46
52
|
homepage: https://authzed.com
|
47
53
|
licenses:
|
48
54
|
- Apache-2.0
|