open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.16k stars 979 forks source link

Support a view permission for custom properties #17152

Open ajsquared opened 1 month ago

ajsquared commented 1 month ago

Is your feature request related to a problem? Please describe. Currently the ViewAll permission is required to view custom properties, e.g. https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/main/resources/ui/src/pages/TableDetailsPageV1/TableDetailsPageV1.tsx#L816.

ViewAll is too broad in some cases. For instance, I'd like to restrict access to viewing queries on a table while still exposing custom properties.

Describe the solution you'd like There should be a separate ViewCustomProperties permission that controls access to viewing custom properties instead of ViewAll.

Describe alternatives you've considered ViewAll is too broad a permission, but we don't have an alternative.

thisisvk45 commented 1 month ago

As far as I know, the ViewAll permission is currently required to view custom properties in OpenMetadata. This seems too broad for some use cases. Unfortunately, there isn’t a specific ViewCustomProperties permission available.