Skip to content

Permissions: Import/Export functionality is Disabled by Conditions #27487

@umavepachedu-collate

Description

@umavepachedu-collate

Affected module
UI

Describe the bug
A user with Data producers role does not have the import export options when a condition is added. Without a condition and EditAll permission. you are able to see these options.

Data Producer definition:
EditAll on Glossary and Glossary Term with 0 conditions.
Different conditions (isOwner(), hasDomain(), matchTeam())

To Reproduce
Login as Admin and Create a Data Producer Role with the policy and roles defined above. Assign the role to a user
Create a Glossary item and add the above user as the owner
Login as the user and you will see import and export options
When you log back in as Admin and assign conditions to the policy, the import and export options are not available anymore

Image Image

Expected behavior
Import and Export Options should be available when a user adds conditions to the policy.

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: [e.g. 0.8]
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

good-medium-issuehackathontag for Hackathon project board to help new OpenMetadata users getting started

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions