-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathPolicy.proto
More file actions
43 lines (35 loc) · 1.01 KB
/
Policy.proto
File metadata and controls
43 lines (35 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
syntax = "proto3";
package feast.core;
option go_package = "github.com/feast-dev/feast/go/protos/feast/core";
option java_outer_classname = "PolicyProto";
option java_package = "feast.proto.core";
message Policy {
// Name of the policy.
string name = 1;
// Name of Feast project.
string project = 2;
oneof policy_type {
RoleBasedPolicy role_based_policy = 3;
GroupBasedPolicy group_based_policy = 4;
NamespaceBasedPolicy namespace_based_policy = 5;
CombinedGroupNamespacePolicy combined_group_namespace_policy = 6;
}
}
message RoleBasedPolicy {
// List of roles in this policy.
repeated string roles = 1;
}
message GroupBasedPolicy {
// List of groups in this policy.
repeated string groups = 1;
}
message NamespaceBasedPolicy {
// List of namespaces in this policy.
repeated string namespaces = 1;
}
message CombinedGroupNamespacePolicy {
// List of groups in this policy.
repeated string groups = 1;
// List of namespaces in this policy.
repeated string namespaces = 2;
}