Ignore:
Timestamp:
Feb 3, 2015, 6:01:27 PM (9 years ago)
Author:
casties
Branch:
default
Message:

upped version to 0.5.
can use display name and groups from auth token.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/Actor.java

    r70 r88  
    5858        if (isGroup() && store != null) {
    5959            // check if person in group
     60            if (person.groups != null) {
     61                // check person's groups
     62                if (person.groups.contains(this.id)) {
     63                    return true;
     64                }
     65            }
     66            // check in store
    6067            return store.isPersonInGroup(person, (Group) this);           
    6168        }
Note: See TracChangeset for help on using the changeset viewer.