mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-10 23:05:55 +00:00
22 lines
524 B
Python
22 lines
524 B
Python
# generated by datamodel-codegen:
|
|
# filename: schema/entity/policies/accessControl/rule.json
|
|
# timestamp: 2021-12-02T02:38:07+00:00
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import List
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
from .. import filters
|
|
from . import tagBased
|
|
|
|
|
|
class AccessControlRule(BaseModel):
|
|
filters: filters.Filters1
|
|
actions: List[tagBased.TagBased] = Field(
|
|
...,
|
|
description='A set of access control enforcements to take on the entities.',
|
|
min_length=1,
|
|
)
|