-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Security/AuthorizationRoles, Privileges, DLS/FLS, RBAC/ABACRoles, Privileges, DLS/FLS, RBAC/ABAC>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsTeam:SecurityMeta label for security teamMeta label for security team
Description
Lately, see #50489 (comment) and #50643 we've learned that we miss unit test cases for index and cluster privileges. Right now we test them in the integ tests , IndexPrivilegeTests and ClusterPrivilegeTests, but we need to test which actions a privilege grants without having to start a cluster node and create a role and an user; these tests are more suited for a mix of privileges/roles to test the full authorization mechanism.
I think we need a new class of tests, modeled after the AuthorizationServiceTests, where we can pick on every privilege and every index (and cluster) action.
amirhmd
Metadata
Metadata
Assignees
Labels
:Security/AuthorizationRoles, Privileges, DLS/FLS, RBAC/ABACRoles, Privileges, DLS/FLS, RBAC/ABAC>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsTeam:SecurityMeta label for security teamMeta label for security team