@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || this.getClass() != o.getClass()) {
            return false;
        }
        final AndPermission that = (AndPermission) o;
        return this.permissions.equals(that.permissions);
    }
Accepts if every single permission is accepted.
cloud-core/src/main/java/org/incendo/cloud/permission/AndPermission.java