cf-perm 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81277a741139aaa64830f08250717cece2d821f0
4
- data.tar.gz: 9f3cfa1a6bbca923ec2a37e88bfa23fb645e9295
3
+ metadata.gz: c2b9a98125d27a1d5df658138206d341dab070c1
4
+ data.tar.gz: 0b0cfcd1a5f9dd5de465e76fb96911eaa15ff165
5
5
  SHA512:
6
- metadata.gz: 4f3b36db7dc8200742fb00daab7968d7f06f54dfaac806e5f38ec6562cd90669c2b70cb4351b369767452752650d87e58c569897e43138157492f2ca8d8bbada
7
- data.tar.gz: c86565494a7e9a1327e7848ffba35d5849897ff4ade0f4488d62a5eba001b3c23e71127a820b3e4870ab6020e95d0e600d8f6adfba94eae764ea5b17f5801742
6
+ metadata.gz: 3dfe58b46c030783233a1ca1c1c06d7bb95bbd8578e49f1b991deb8ddfc21006733357dddf04645fb4002a5532e622f6f0f4e4556280d4d259596236d69f2bf0
7
+ data.tar.gz: a816fae585b0dfb48fbbe37e0b899d16ede9c7dc3022edf79068eec856fd78f7d0f4743f077be8689a01c8010116ed88eb755c162e8bdc567ee4e92b7e9a3b62
@@ -0,0 +1,18 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: group.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_message "cloud_foundry.perm.protos.Group" do
8
+ optional :id, :string, 2
9
+ end
10
+ end
11
+
12
+ module CloudFoundry
13
+ module Perm
14
+ module Protos
15
+ Group = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.Group").msgclass
16
+ end
17
+ end
18
+ end
@@ -4,6 +4,7 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'actor_pb'
7
+ require 'group_pb'
7
8
  require 'permission_pb'
8
9
  require 'role_pb'
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -14,12 +15,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_message "cloud_foundry.perm.protos.CreateRoleResponse" do
15
16
  optional :role, :message, 1, "cloud_foundry.perm.protos.Role"
16
17
  end
17
- add_message "cloud_foundry.perm.protos.GetRoleRequest" do
18
- optional :name, :string, 1
19
- end
20
- add_message "cloud_foundry.perm.protos.GetRoleResponse" do
21
- optional :role, :message, 1, "cloud_foundry.perm.protos.Role"
22
- end
23
18
  add_message "cloud_foundry.perm.protos.DeleteRoleRequest" do
24
19
  optional :name, :string, 1
25
20
  end
@@ -31,6 +26,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
26
  end
32
27
  add_message "cloud_foundry.perm.protos.AssignRoleResponse" do
33
28
  end
29
+ add_message "cloud_foundry.perm.protos.AssignRoleToGroupRequest" do
30
+ optional :group, :message, 1, "cloud_foundry.perm.protos.Group"
31
+ optional :role_name, :string, 2
32
+ end
33
+ add_message "cloud_foundry.perm.protos.AssignRoleToGroupResponse" do
34
+ end
34
35
  add_message "cloud_foundry.perm.protos.UnassignRoleRequest" do
35
36
  optional :actor, :message, 1, "cloud_foundry.perm.protos.Actor"
36
37
  optional :role_name, :string, 2
@@ -44,6 +45,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
44
45
  add_message "cloud_foundry.perm.protos.HasRoleResponse" do
45
46
  optional :has_role, :bool, 1
46
47
  end
48
+ add_message "cloud_foundry.perm.protos.HasRoleForGroupRequest" do
49
+ optional :group, :message, 1, "cloud_foundry.perm.protos.Group"
50
+ optional :role_name, :string, 2
51
+ end
52
+ add_message "cloud_foundry.perm.protos.HasRoleForGroupResponse" do
53
+ optional :has_role, :bool, 1
54
+ end
47
55
  add_message "cloud_foundry.perm.protos.ListActorRolesRequest" do
48
56
  optional :actor, :message, 2, "cloud_foundry.perm.protos.Actor"
49
57
  end
@@ -63,16 +71,18 @@ module CloudFoundry
63
71
  module Protos
64
72
  CreateRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.CreateRoleRequest").msgclass
65
73
  CreateRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.CreateRoleResponse").msgclass
66
- GetRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.GetRoleRequest").msgclass
67
- GetRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.GetRoleResponse").msgclass
68
74
  DeleteRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.DeleteRoleRequest").msgclass
69
75
  DeleteRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.DeleteRoleResponse").msgclass
70
76
  AssignRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.AssignRoleRequest").msgclass
71
77
  AssignRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.AssignRoleResponse").msgclass
78
+ AssignRoleToGroupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.AssignRoleToGroupRequest").msgclass
79
+ AssignRoleToGroupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.AssignRoleToGroupResponse").msgclass
72
80
  UnassignRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.UnassignRoleRequest").msgclass
73
81
  UnassignRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.UnassignRoleResponse").msgclass
74
82
  HasRoleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.HasRoleRequest").msgclass
75
83
  HasRoleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.HasRoleResponse").msgclass
84
+ HasRoleForGroupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.HasRoleForGroupRequest").msgclass
85
+ HasRoleForGroupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.HasRoleForGroupResponse").msgclass
76
86
  ListActorRolesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.ListActorRolesRequest").msgclass
77
87
  ListActorRolesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.ListActorRolesResponse").msgclass
78
88
  ListRolePermissionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("cloud_foundry.perm.protos.ListRolePermissionsRequest").msgclass
@@ -17,11 +17,12 @@ module CloudFoundry
17
17
  self.service_name = 'cloud_foundry.perm.protos.RoleService'
18
18
 
19
19
  rpc :CreateRole, CreateRoleRequest, CreateRoleResponse
20
- rpc :GetRole, GetRoleRequest, GetRoleResponse
21
20
  rpc :DeleteRole, DeleteRoleRequest, DeleteRoleResponse
22
21
  rpc :AssignRole, AssignRoleRequest, AssignRoleResponse
22
+ rpc :AssignRoleToGroup, AssignRoleToGroupRequest, AssignRoleToGroupResponse
23
23
  rpc :UnassignRole, UnassignRoleRequest, UnassignRoleResponse
24
24
  rpc :HasRole, HasRoleRequest, HasRoleResponse
25
+ rpc :HasRoleForGroup, HasRoleForGroupRequest, HasRoleForGroupResponse
25
26
  rpc :ListActorRoles, ListActorRolesRequest, ListActorRolesResponse
26
27
  rpc :ListRolePermissions, ListRolePermissionsRequest, ListRolePermissionsResponse
27
28
  end
data/lib/perm/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CloudFoundry
4
4
  module Perm
5
- VERSION = '0.0.3'
5
+ VERSION = '0.0.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-perm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - CloudFoundry Permissions Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-13 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -92,6 +92,7 @@ files:
92
92
  - lib/perm.rb
93
93
  - lib/perm/protos.rb
94
94
  - lib/perm/protos/actor_pb.rb
95
+ - lib/perm/protos/group_pb.rb
95
96
  - lib/perm/protos/permission_pb.rb
96
97
  - lib/perm/protos/permission_service_pb.rb
97
98
  - lib/perm/protos/permission_service_services_pb.rb