You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: sdk/python/feast/permissions/permission.py
+20-7
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,14 @@ class Permission(ABC):
23
23
requested on the matching resources.
24
24
25
25
Attributes:
26
-
name: The permission name (can be duplicated, used for logging troubleshooting)
27
-
types: The list of protected resource types as defined by the `FeastObject` type. Defaults to all managed types (e.g. the `ALL_RESOURCE_TYPES` constant)
28
-
with_subclasses: If `True`, it includes subclasses of the given types in the match, otherwise only precise type match is applied. Defaults to `True`.
29
-
name_pattern: a regex to match the resource name. Defaults to None, meaning that no name filtering is applied
30
-
required_tags: dictionary of key-value pairs that must match the resource tags. All these required_tags must be present as resource
31
-
tags with the given value. Defaults to None, meaning that no tags filtering is applied.
26
+
name: The permission name (can be duplicated, used for logging troubleshooting).
27
+
types: The list of protected resource types as defined by the `FeastObject` type.
28
+
Defaults to all managed types (e.g. the `ALL_RESOURCE_TYPES` constant)
29
+
with_subclasses: If `True`, it includes sub-classes of the given types in the match, otherwise only exact type match is applied.
30
+
Defaults to `True`.
31
+
name_pattern: A regex to match the resource name. Defaults to None, meaning that no name filtering is applied
32
+
required_tags: Dictionary of key-value pairs that must match the resource tags. All these required_tags must
33
+
be present in a resource tags with the given value. Defaults to None, meaning that no tags filtering is applied.
32
34
actions: The actions authorized by this permission. Defaults to `AuthzedAction.ALL`.
33
35
policy: The policy to be applied to validate a client request.
0 commit comments