-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Introduce role description field #107088
Introduce role description field #107088
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 248c615 - Browse repository at this point
Copy the full SHA 248c615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b540d0 - Browse repository at this point
Copy the full SHA 9b540d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42dbaab - Browse repository at this point
Copy the full SHA 42dbaabView commit details -
Merge branch 'sa-add-role-description' of github.com:slobodanadamovic…
…/elasticsearch into sa-add-role-description
Configuration menu - View commit details
-
Copy full SHA for ad6e48f - Browse repository at this point
Copy the full SHA ad6e48fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fca71bb - Browse repository at this point
Copy the full SHA fca71bbView commit details
Commits on Apr 11, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for 906d537 - Browse repository at this point
Copy the full SHA 906d537View commit details
Commits on Apr 12, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for ca60fb3 - Browse repository at this point
Copy the full SHA ca60fb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b22fe9a - Browse repository at this point
Copy the full SHA b22fe9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 546602f - Browse repository at this point
Copy the full SHA 546602fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d3396 - Browse repository at this point
Copy the full SHA 23d3396View commit details -
Refactor role descriptor parsing
The method for `RoleDescriptor` parsing is becoming more complex due to its usage being shared between API keys, file-based and native roles. In some cases we allow 2.X format, in others we disallow restrictions. Having a single method with multiple boolean flags that control inclusion/exclusion of fields is becoming hard to extend. This refactoring aims to allow easier introduction of new fields that should be conditionally supported in some cases but not others. One of such cases is introduction of `description` field that should only be supported for file-based and native roles but not for roles embedded in API keys.
Configuration menu - View commit details
-
Copy full SHA for 36a3e5c - Browse repository at this point
Copy the full SHA 36a3e5cView commit details
Commits on Apr 15, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-refac…
…tor-role-parsing # Conflicts: # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java
Configuration menu - View commit details
-
Copy full SHA for 621959b - Browse repository at this point
Copy the full SHA 621959bView commit details
Commits on Apr 16, 2024
-
Merge branch 'sa-refactor-role-parsing' of github.com:slobodanadamovi…
…c/elasticsearch into sa-add-role-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/CrossClusterAccessSubjectInfo.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptorsIntersection.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptorTests.java # x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/ApiKeyIntegTests.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java # x-pack/plugin/security/src/test/java/org/elasticsearch/test/TestSecurityClient.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ApiKeyServiceTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java
Configuration menu - View commit details
-
Copy full SHA for c3ebf46 - Browse repository at this point
Copy the full SHA c3ebf46View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for ce3baab - Browse repository at this point
Copy the full SHA ce3baabView commit details
Commits on Apr 17, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/apikey/ApiKey.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/apikey/BulkUpdateApiKeyRequestTranslator.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/apikey/CreateApiKeyRequestBuilder.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/apikey/UpdateApiKeyRequestTranslator.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestBuilder.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authc/CrossClusterAccessSubjectInfo.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptorsIntersection.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/service/GetServiceAccountResponseTests.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptorTests.java # x-pack/plugin/security/qa/security-trial/src/javaRestTest/java/org/elasticsearch/xpack/security/role/RoleWithRemoteIndicesPrivilegesRestIT.java # x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/ApiKeyIntegTests.java # x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/apikey/ApiKeySingleNodeTests.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ApiKeyService.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/FileRolesStore.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java # x-pack/plugin/security/src/test/java/org/elasticsearch/test/TestSecurityClient.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ApiKeyServiceTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/permission/FieldPermissionsTests.java
Configuration menu - View commit details
-
Copy full SHA for c2e5a36 - Browse repository at this point
Copy the full SHA c2e5a36View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for b2a9d7d - Browse repository at this point
Copy the full SHA b2a9d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b069f - Browse repository at this point
Copy the full SHA 48b069fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3ed4ba - Browse repository at this point
Copy the full SHA c3ed4baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbcfaa - Browse repository at this point
Copy the full SHA 9dbcfaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e74a90d - Browse repository at this point
Copy the full SHA e74a90dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da5db4 - Browse repository at this point
Copy the full SHA 8da5db4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9437d19 - Browse repository at this point
Copy the full SHA 9437d19View commit details
Commits on Apr 22, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for 082c0c1 - Browse repository at this point
Copy the full SHA 082c0c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab65161 - Browse repository at this point
Copy the full SHA ab65161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f66ba - Browse repository at this point
Copy the full SHA 83f66baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 168fa09 - Browse repository at this point
Copy the full SHA 168fa09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59631a1 - Browse repository at this point
Copy the full SHA 59631a1View commit details
Commits on Apr 24, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for 9ab9409 - Browse repository at this point
Copy the full SHA 9ab9409View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eaeeaf8 - Browse repository at this point
Copy the full SHA eaeeaf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba46b5 - Browse repository at this point
Copy the full SHA 6ba46b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef744de - Browse repository at this point
Copy the full SHA ef744deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b8bf29 - Browse repository at this point
Copy the full SHA 8b8bf29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2974c61 - Browse repository at this point
Copy the full SHA 2974c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dc0203 - Browse repository at this point
Copy the full SHA 2dc0203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b41525 - Browse repository at this point
Copy the full SHA 4b41525View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38556c8 - Browse repository at this point
Copy the full SHA 38556c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526d4be - Browse repository at this point
Copy the full SHA 526d4beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2e69d - Browse repository at this point
Copy the full SHA 6e2e69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a18bff8 - Browse repository at this point
Copy the full SHA a18bff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da76594 - Browse repository at this point
Copy the full SHA da76594View commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 825c840 - Browse repository at this point
Copy the full SHA 825c840View commit details
Commits on Apr 29, 2024
-
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for 4de6d35 - Browse repository at this point
Copy the full SHA 4de6d35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7259f4d - Browse repository at this point
Copy the full SHA 7259f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc51317 - Browse repository at this point
Copy the full SHA dc51317View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for d4bd948 - Browse repository at this point
Copy the full SHA d4bd948View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd893a2 - Browse repository at this point
Copy the full SHA dd893a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 113d83f - Browse repository at this point
Copy the full SHA 113d83fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72bbd76 - Browse repository at this point
Copy the full SHA 72bbd76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aa7c12 - Browse repository at this point
Copy the full SHA 6aa7c12View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9368be1 - Browse repository at this point
Copy the full SHA 9368be1View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for e04e992 - Browse repository at this point
Copy the full SHA e04e992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05aa831 - Browse repository at this point
Copy the full SHA 05aa831View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 35a80dc - Browse repository at this point
Copy the full SHA 35a80dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fb938a - Browse repository at this point
Copy the full SHA 1fb938aView commit details -
Configuration menu - View commit details
-
Copy full SHA for be602ab - Browse repository at this point
Copy the full SHA be602abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 491b410 - Browse repository at this point
Copy the full SHA 491b410View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 52fd232 - Browse repository at this point
Copy the full SHA 52fd232View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequest.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptor.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStore.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/apikey/BulkUpdateApiKeyRequestTests.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/apikey/CreateApiKeyRequestTests.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/apikey/UpdateApiKeyRequestTests.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/RoleDescriptorTests.java # x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/permission/SimpleRoleTests.java # x-pack/plugin/security/qa/security-trial/src/javaRestTest/java/org/elasticsearch/xpack/security/apikey/ApiKeyRestIT.java # x-pack/plugin/security/qa/security-trial/src/javaRestTest/java/org/elasticsearch/xpack/security/crossclusteraccess/CrossClusterAccessHeadersForCcsRestIT.java # x-pack/plugin/security/src/internalClusterTest/java/org/elasticsearch/xpack/security/authc/ApiKeyIntegTests.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/ApiKeyService.java # x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStore.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/ApiKeyServiceTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/AuthorizationServiceIntegTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/RBACEngineTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/CompositeRolesStoreTests.java # x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authz/store/NativeRolesStoreTests.java # x-pack/plugin/security/src/test/resources/org/elasticsearch/xpack/security/authz/store/roles.yml # x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/ApiKeyBackwardsCompatibilityIT.java
Configuration menu - View commit details
-
Copy full SHA for 619e335 - Browse repository at this point
Copy the full SHA 619e335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 981bec3 - Browse repository at this point
Copy the full SHA 981bec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e20ca64 - Browse repository at this point
Copy the full SHA e20ca64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ceb492 - Browse repository at this point
Copy the full SHA 5ceb492View commit details -
Configuration menu - View commit details
-
Copy full SHA for 981b203 - Browse repository at this point
Copy the full SHA 981b203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4507041 - Browse repository at this point
Copy the full SHA 4507041View commit details -
Merge branch 'main' of github.com:elastic/elasticsearch into sa-add-r…
…ole-description # Conflicts: # server/src/main/java/org/elasticsearch/TransportVersions.java
Configuration menu - View commit details
-
Copy full SHA for e768c8b - Browse repository at this point
Copy the full SHA e768c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c56fef - Browse repository at this point
Copy the full SHA 0c56fefView commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 990d9c3 - Browse repository at this point
Copy the full SHA 990d9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91ccbfb - Browse repository at this point
Copy the full SHA 91ccbfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a5c379 - Browse repository at this point
Copy the full SHA 6a5c379View commit details