Added: UserRole -> mask
Updated: hashCode, equals and toString
Added: validFrom and validUntil to Action and related logic