Raghav Maheshwari created ATLAS-5406:
----------------------------------------
Summary: Add unit tests for AtlasNoneAuthorizer
Key: ATLAS-5406
URL: https://issues.apache.org/jira/browse/ATLAS-5406
Project: Atlas
Issue Type: Task
Reporter: Raghav Maheshwari
Add unit tests for the `AtlasNoneAuthorizer` class in the Apache Atlas
authorization module to improve unit-test coverage and verify its default
authorization behavior.
Scope
Add a new `AtlasNoneAuthorizerTest` covering:
* Initialization through `init()`.
* Cleanup through `cleanUp()`.
* Access authorization for `AtlasAdminAccessRequest`.
* Access authorization for `AtlasEntityAccessRequest`.
* Access authorization for `AtlasTypeAccessRequest`.
* Access authorization for `AtlasRelationshipAccessRequest`.
* Search result scrubbing through `scrubSearchResults()`.
The tests will verify that the authorizer consistently permits access and that
its lifecycle and no-op methods execute successfully without exceptions.
Expected Outcome
Improve unit-test coverage for the authorization module and provide regression
protection for the default `AtlasNoneAuthorizer` behavior.
No production code changes are required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)