Skip to content

[Improvement] In PolicyOperations.java fix exceptiuon handling #8661

@justinmclean

Description

@justinmclean

What would you like to be improved?

In server/src/main/java/org/apache/gravitino/server/web/rest/PolicyOperations.java, setPolicy fix the exception handling so that it handles disabled policies.

How should we improve?

Needs to handle both OperationType.ENABLE and OperationType.DISABLE. Add a unit test to check this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions