-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User with Delete permission not able to delete testCases #11002
Comments
@ShaileshParmar11 @TeddyCr As admin |
@harshach regarding what you mentioned I believe this comes from the list test suite operation context being linked to the ...
OperationContext operationContext = new OperationContext(Entity.TABLE, MetadataOperation.VIEW_TESTS);
... I believe if your user does not have view permission tables then no test suites will be returned. As far as the user not being able to delete tests with the |
We need to be consistent in the transitive permissions
Not all entities are top-level entities and deriving it from the main parent/container makes sense. |
@harshach thanks for this explaination. I am not sure I fully understand what is required next based on what you mentioned. Could you give a bit more details? |
@TeddyCr assigned it to myself. I'll cleanup as part of a PR I am working on |
@harshach was this done? |
Affected module
backend
Describe the bug
A user with only
Delete
permission cannot delete a test case.To Reproduce
Screen.Recording.2023-04-11.at.6.36.03.PM.mov
Request URL::
/api/v1/testCases/{id}?hardDelete=false&recursive=false
Request Method:
DELETE
Response:
Expected behavior
A clear and concise description of what you expected to happen.
Version:
openmetadata-ingestion[docker]==XYZ
]Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: