[midPoint-git] [Evolveum/midpoint] c3fbc8: Resurrecting tests for role owner authorizations (...

Tony Tkáčik noreply at github.com
Tue Sep 10 15:15:58 CEST 2024


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: c3fbc8f1de6b8a401d943d8195353475a10a7f76
      https://github.com/Evolveum/midpoint/commit/c3fbc8f1de6b8a401d943d8195353475a10a7f76
  Author: Radovan Semancik <radovan.semancik at evolveum.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractInitializedSecurityTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java

  Log Message:
  -----------
  Resurrecting tests for role owner authorizations (#9985)


  Commit: 4b284eb872d482690bac3f143b676aac27a5162b
      https://github.com/Evolveum/midpoint/commit/4b284eb872d482690bac3f143b676aac27a5162b
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/selector/eval/FilteringContext.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/selector/eval/OwnerResolver.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/selector/spec/OwnerClause.java
    M model/authentication-impl/src/test/java/com/evolveum/midpoint/authentication/evaluator/TestAbstractAuthenticationEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensOwnerResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfiledPrincipalManagerImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractInitializedSecurityTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java
    A model/model-intest/src/test/resources/security/user-alex.xml
    A model/model-intest/src/test/resources/security/user-betty.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/query/SelectorToFilterTranslator.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SelectorFilterEvaluation.java
    M repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/MidPointPrincipalManagerMock.java

  Log Message:
  -----------
  MID-9985, MID-5689: Support roleMembershipRef for owner clause

Added support to authorization owner clause for role memberhsip ref.
Search by owner clause is only supported on native repository
  - requires referencedBy filter.

Extended OwnerResolver interface to return multiple owners if possible.


Compare: https://github.com/Evolveum/midpoint/compare/ab5ba97d638d...4b284eb872d4

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list