Branch: refs/heads/integration/master
  Home:   https://github.com/zanata/zanata-server
  Commit: a60b1582e1a4264f4eafb625a96d115eb1781545
      
https://github.com/zanata/zanata-server/commit/a60b1582e1a4264f4eafb625a96d115eb1781545
  Author: Carlos A. Munoz <camu...@redhat.com>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M 
zanata-war/src/main/java/org/zanata/seam/security/ZanataJpaIdentityStore.java
    M zanata-war/src/main/java/org/zanata/security/SecurityFunctions.java
    M 
zanata-war/src/main/java/org/zanata/security/permission/PermissionEvaluator.java
    M 
zanata-war/src/main/java/org/zanata/security/permission/PermissionGranter.java
    A 
zanata-war/src/main/java/org/zanata/security/permission/PermissionProvider.java
    M zanata-war/src/test/java/org/zanata/seam/AutowireInstance.java
    M zanata-war/src/test/java/org/zanata/seam/SeamAutowire.java
    M zanata-war/src/test/java/org/zanata/security/ZanataIdentityTest.java
    M 
zanata-war/src/test/java/org/zanata/security/permission/PermissionEvaluatorTest.java

  Log Message:
  -----------
  chore: refactor permission granters to be CDI beans

See: https://github.com/zanata/zanata-server/pull/1093
This allows any bean which extends the new PermissionGranter class to
provide permission granter methods.
It also allows permission granters to be CDI beans which allows them to
inject other components among other things.
PermissionProviders are used as dependent beans so they get up-to-date
information on every permission check.

Squashed commit of the following:

commit f42f9e4f6982e9a937e3f69f2d799089922db97c
Author: Carlos A. Munoz <camu...@redhat.com>
Date:   Mon Feb 15 12:11:42 2016 +1000

    code review fixes

commit 6b4347b311dfa85bbfc3fba7762e0aa539c248ad
Author: Carlos A. Munoz <camu...@redhat.com>
Date:   Fri Feb 12 15:45:54 2016 +1000

    fix failing seamautowire tests

commit 401070e9a130f770a2862a72d59db169dc0b0830
Author: Carlos A. Munoz <camu...@redhat.com>
Date:   Thu Feb 11 15:18:21 2016 +1000

    turn the SecurityFunctions class into a CDI bean

commit 67ea7b049cf2e0876802b875ff9c2baa8aeb62cc
Author: Carlos A. Munoz <camu...@redhat.com>
Date:   Thu Feb 11 15:00:06 2016 +1000

    refactor permission granters to be CDI beans

    This allows any bean which extends the new PermissionGranter class to
    provide permission granter methods.
    It also allows permission granters to be CDI beans which allows them to
    inject other components among other things.
    PermissionProviders are used as dependent beans so they get up-to-date
    information on every permission check.


_______________________________________________
zanata-commits mailing list
zanata-commits@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-commits

Reply via email to