Skip to content

Commit

Permalink
#4379 Improve Stroom permission model
Browse files Browse the repository at this point in the history
  • Loading branch information
stroomdev66 committed Jul 31, 2024
1 parent 1b921e4 commit 6666a06
Show file tree
Hide file tree
Showing 553 changed files with 14,055 additions and 13,888 deletions.
23 changes: 0 additions & 23 deletions .idea/checkstyle-idea.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/runConfigurations/GenerateExpectedYaml.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/runConfigurations/SetupSampleData.xml

This file was deleted.

8 changes: 4 additions & 4 deletions generate-jooq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ cd -
cd stroom-security/stroom-security-impl-db-jooq
../../gradlew generateJooq
cd -
cd .idea/modules/stroom-proxy/stroom-proxy-repo-db-jooq
cd stroom-proxy/stroom-proxy-repo-db-jooq
../../gradlew generateJooq
cd -
cd .idea/modules/stroom-annotation/stroom-annotation-impl-db-jooq
cd stroom-annotation/stroom-annotation-impl-db-jooq
../../gradlew generateJooq
cd -
cd .idea/modules/stroom-processor/stroom-processor-impl-db-jooq
cd stroom-processor/stroom-processor-impl-db-jooq
../../gradlew generateJooq
cd -
cd .idea/modules/stroom-cluster/stroom-cluster-lock-impl-db-jooq
cd stroom-cluster/stroom-cluster-lock-impl-db-jooq
../../gradlew generateJooq
cd -
cd stroom-activity/stroom-activity-impl-db-jooq
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import stroom.util.shared.BaseCriteria;
import stroom.util.shared.CriteriaFieldSort;
import stroom.util.shared.PageRequest;
import stroom.util.shared.UserRef;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
Expand All @@ -31,7 +32,7 @@
public class FindActivityCriteria extends BaseCriteria {

@JsonProperty
private String userId;
private UserRef userRef;
@JsonProperty
private String filter;

Expand All @@ -41,10 +42,10 @@ public FindActivityCriteria() {
@JsonCreator
public FindActivityCriteria(@JsonProperty("pageRequest") final PageRequest pageRequest,
@JsonProperty("sortList") final List<CriteriaFieldSort> sortList,
@JsonProperty("userId") final String userId,
@JsonProperty("userId") final UserRef userRef,
@JsonProperty("name") final String filter) {
super(pageRequest, sortList);
this.userId = userId;
this.userRef = userRef;
this.filter = filter;
}

Expand All @@ -54,12 +55,12 @@ public static FindActivityCriteria create(final String filter) {
return criteria;
}

public String getUserId() {
return userId;
public UserRef getUserRef() {
return userRef;
}

public void setUserId(final String userId) {
this.userId = userId;
public void setUserRef(final UserRef userRef) {
this.userRef = userRef;
}

public String getFilter() {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6666a06

Please sign in to comment.