Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Refactoring of CurrentUserService and introduction of UserDetails and more #15727

Merged
merged 143 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
b8b7e0f
feat: upgrade to Spring 6
netroms Nov 16, 2023
bac10b3
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 17, 2023
5e993f5
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 17, 2023
cf27a0d
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 17, 2023
f8c3322
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 17, 2023
7bcdd88
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 17, 2023
31a91fc
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 20, 2023
f1d6eb1
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 20, 2023
6e9f4bd
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 21, 2023
cfe4799
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 21, 2023
51c9da8
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 24, 2023
1188bf8
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 24, 2023
ebeb68b
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 24, 2023
b511a76
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 24, 2023
7412881
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 24, 2023
0774efc
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 27, 2023
7753fd5
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 27, 2023
5549711
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 27, 2023
fa10f2a
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 28, 2023
8ffe40d
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 28, 2023
2a00613
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Nov 28, 2023
820008d
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 28, 2023
5080701
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 28, 2023
7306448
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 28, 2023
d176298
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 29, 2023
e1088e8
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 29, 2023
f799d82
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 30, 2023
15d5520
feat: Migrate away from deprecated Spring Security configuration
netroms Nov 30, 2023
0ebb0bd
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 1, 2023
859e9b9
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 1, 2023
d12c917
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 1, 2023
7972846
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 1, 2023
fcddc55
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 1, 2023
11ed376
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 4, 2023
b62161b
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 5, 2023
dbbd327
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 5, 2023
1cdff28
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 5, 2023
47d2d48
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 5, 2023
63b72cf
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 5, 2023
7dd48c2
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 5, 2023
6163c6e
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 6, 2023
18812f9
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
e525a3c
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
71c1155
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
72d386d
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
e33f796
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
08acbf4
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
de629b0
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 6, 2023
0f42647
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
d798dd3
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
ac6ea6e
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 6, 2023
5129e77
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
cf94d68
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 6, 2023
f73600b
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 7, 2023
738e0ce
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 8, 2023
bb7ec4f
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 8, 2023
0c94399
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 11, 2023
cffd5a7
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
7f70f94
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
5a79e64
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
c54133a
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
83e2874
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 11, 2023
eb29d00
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
c7864d5
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 11, 2023
154f44c
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
f67e691
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 12, 2023
943edae
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
25893b0
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
0cbbbff
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
34ac34d
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
fd53fd8
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
edcf118
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 12, 2023
313d020
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 12, 2023
5582578
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 12, 2023
8f17084
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
c994ecf
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 13, 2023
6eb1977
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
e210624
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
489d530
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
0035fb2
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
99ca77b
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
34130c3
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
490ee24
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 13, 2023
5e06971
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
9511a5f
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 13, 2023
b4036ed
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 18, 2023
d943e7e
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 18, 2023
efa1e55
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 18, 2023
6965817
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 18, 2023
acdb711
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 18, 2023
7821c30
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 18, 2023
d8111bc
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 18, 2023
e96523a
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 18, 2023
3878fcd
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 19, 2023
2850ed5
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 19, 2023
fe9054c
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 19, 2023
9bc9cc5
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 19, 2023
0b1a8ef
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 19, 2023
66845a7
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 19, 2023
3ed365f
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 20, 2023
099762e
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 20, 2023
6e19257
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 20, 2023
e46e514
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 20, 2023
d9d6abb
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 20, 2023
dc2ac81
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 20, 2023
cad081e
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 20, 2023
2f35912
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 21, 2023
5b23ebf
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 21, 2023
57a7012
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 21, 2023
d8ff11c
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 22, 2023
85f0f34
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Dec 22, 2023
52d762f
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 22, 2023
be56c69
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 22, 2023
b9f422c
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 22, 2023
ef9b692
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 22, 2023
3b06857
feat: Migrate away from deprecated Spring Security configuration
netroms Dec 23, 2023
00e01d5
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 5, 2024
3cada37
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 5, 2024
9cebcc1
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 5, 2024
0dee335
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 5, 2024
4413148
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 5, 2024
e863948
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 5, 2024
2adf7e3
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 5, 2024
334591b
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 8, 2024
bd85560
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 8, 2024
ddce543
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 8, 2024
93c4a7e
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 8, 2024
67f4f99
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 9, 2024
188f6b8
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 9, 2024
bc9725b
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 9, 2024
44f11a5
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 10, 2024
ed06e9b
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 10, 2024
8e7db87
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 10, 2024
6158438
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 10, 2024
f12e8ed
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
88f80dd
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
3ff3bd6
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 11, 2024
cc44756
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 11, 2024
ab02eb9
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
c0aeb7a
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
e7b60db
Merge branch 'master' of github.com:dhis2/dhis2-core into DHIS2-16169…
netroms Jan 11, 2024
f1f234e
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
1ab6228
feat: Migrate away from deprecated Spring Security configuration
netroms Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import java.util.Map;
import java.util.Set;
import org.hisp.dhis.feedback.NotFoundException;
import org.hisp.dhis.user.User;

/**
* @author Lars Helge Overland
Expand All @@ -47,7 +46,7 @@ public interface DimensionService {

<T extends IdentifiableObject> List<T> getCanReadObjects(List<T> objects);

<T extends IdentifiableObject> List<T> getCanReadObjects(User user, List<T> objects);
<T extends IdentifiableObject> List<T> getCanReadObjects(String username, List<T> objects);

DimensionType getDimensionType(String uid);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,10 @@ public interface IdentifiableObjectManager {

void update(@Nonnull IdentifiableObject object);

void update(@Nonnull IdentifiableObject object, @CheckForNull User user);

void update(@Nonnull List<IdentifiableObject> objects);

void update(@Nonnull List<IdentifiableObject> objects, @CheckForNull User user);

void delete(@Nonnull IdentifiableObject object);

void delete(@Nonnull IdentifiableObject object, @CheckForNull User user);

/**
* Lookup objects of unknown type.
*
Expand Down Expand Up @@ -192,7 +186,7 @@ <T extends IdentifiableObject> T getByUniqueAttributeValue(
@Nonnull Class<T> type,
@Nonnull Attribute attribute,
@Nonnull String value,
@CheckForNull User userInfo);
@CheckForNull String username);
Dismissed Show dismissed Hide dismissed

@CheckForNull
<T extends IdentifiableObject> T search(@Nonnull Class<T> type, @Nonnull String query);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import org.hisp.dhis.attribute.Attribute;
import org.hisp.dhis.user.CurrentUserDetails;
import org.hisp.dhis.user.User;

/**
Expand Down Expand Up @@ -75,9 +76,8 @@
* Removes the given object instance.
*
* @param object the object instance to delete.
* @param user User
*/
void delete(@Nonnull T object, @CheckForNull User user);
void delete(@Nonnull T object);

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
GenericStore.delete
; it is advisable to add an Override annotation.

/**
* Retrieves the object with the given UID, or null if no object exists.
Expand Down Expand Up @@ -160,12 +160,14 @@
*
* @param attribute the attribute.
* @param value the value.
* @param user the user.
* @param userDetails the user.
* @return the attribute value or null if not found
*/
@CheckForNull
T getByUniqueAttributeValue(
@Nonnull Attribute attribute, @Nonnull String value, @CheckForNull User user);
@Nonnull Attribute attribute,
@Nonnull String value,
@CheckForNull CurrentUserDetails userDetails);

/**
* Retrieves a List of all objects (sorted on name).
Expand Down Expand Up @@ -274,16 +276,6 @@
@Nonnull
List<T> getById(@Nonnull Collection<Long> ids);

/**
* Retrieves a list of objects referenced by the given collection of ids.
*
* @param ids a collection of ids.
* @param user the {@link User} for sharing restrictions
* @return a list of objects.
*/
@Nonnull
List<T> getById(@Nonnull Collection<Long> ids, @CheckForNull User user);

/**
* Retrieves a list of objects referenced by the given collection of uids.
*
Expand All @@ -293,18 +285,6 @@
@Nonnull
List<T> getByUid(@Nonnull Collection<String> uids);

/**
* Retrieves a list of objects referenced by the given collection of uids.
*
* <p>Objects which are soft-deleted (deleted=true) are filtered out
*
* @param uids a collection of uids.
* @param user the {@link User} for sharing restrictions
* @return a list of objects.
*/
@Nonnull
List<T> getByUid(@Nonnull Collection<String> uids, @CheckForNull User user);

/**
* Retrieves a list of objects referenced by the given collection of codes.
*
Expand All @@ -314,16 +294,6 @@
@Nonnull
List<T> getByCode(@Nonnull Collection<String> codes);

/**
* Retrieves a list of objects referenced by the given collection of codes.
*
* @param codes a collection of codes.
* @param user the {@link User} for sharing restrictions
* @return a list of objects.
*/
@Nonnull
List<T> getByCode(@Nonnull Collection<String> codes, @CheckForNull User user);

/**
* Retrieves a list of objects referenced by the given collection of names.
*
Expand All @@ -333,16 +303,6 @@
@Nonnull
List<T> getByName(@Nonnull Collection<String> names);

/**
* Retrieves a list of objects referenced by the given collection of names.
*
* @param names a collection of names.
* @param user the {@link User} for sharing restrictions
* @return a list of objects.
*/
@Nonnull
List<T> getByName(@Nonnull Collection<String> names, @CheckForNull User user);

/**
* Retrieves a list of objects referenced by the given List of uids. Bypasses the ACL system.
*
Expand Down Expand Up @@ -415,13 +375,13 @@
List<T> getDataReadAll();

@Nonnull
List<T> getDataReadAll(@CheckForNull User user);
List<T> getDataReadAll(@CheckForNull CurrentUserDetails userDetails);

@Nonnull
List<T> getDataWriteAll();

@Nonnull
List<T> getDataWriteAll(@CheckForNull User user);
List<T> getDataWriteAll(@CheckForNull CurrentUserDetails userDetails);

/** Remove given UserGroup UID from all sharing records in database */
void removeUserGroupFromSharing(@Nonnull String userGroupUID, @Nonnull String tableName);
Expand All @@ -430,26 +390,26 @@
* Look up list objects which have property createdBy or lastUpdatedBy linked to given {@link
* User}
*
* @param user the {@link User} for filtering
* @param userDetails the {@link User} for filtering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadoc @link param should reflect the change to use the UserDetails class also, as that is what will be used for filtering not the User class.

* @return List of objects found.
*/
List<T> findByUser(@Nonnull User user);
List<T> findByUser(@Nonnull CurrentUserDetails userDetails);

/**
* Look up list objects which have property lastUpdatedBy linked to given {@link User}
*
* @param user the {@link User} for filtering
* @param userDetails the {@link User} for filtering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadoc link param should reflect the change to use the UserDetails class also, as that is what will be used for filtering not the User class.

* @return List of objects found.
*/
List<T> findByLastUpdatedBy(@Nonnull User user);
List<T> findByLastUpdatedBy(@Nonnull CurrentUserDetails userDetails);

/**
* Look up list objects which have property createdBy linked to given {@link User}
*
* @param user the {@link User} for filtering
* @param userDetails the {@link User} for filtering
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadoc link param should reflect the change to use the UserDetails class also, as that is what will be used for filtering not the User class.

* @return List of objects found.
*/
List<T> findByCreatedBy(@Nonnull User user);
List<T> findByCreatedBy(@Nonnull CurrentUserDetails userDetails);

/**
* Look up list objects which have property createdBy or lastUpdatedBy linked to given {@link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@
*/
public class BaseIdentifiableObject_ {
public static final String CREATED_BY = "createdBy";

public static final String LAST_UPDATED_BY = "lastUpdatedBy";

public static final String TRANSLATIONS = "translations";

public static final String SHARING = "sharing";

public static final String ATTRIBUTE_VALUES = "attributeValues";
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.hisp.dhis.organisationunit.OrganisationUnit;
import org.hisp.dhis.period.Period;
import org.hisp.dhis.period.PeriodType;
import org.hisp.dhis.user.CurrentUserDetails;
import org.hisp.dhis.user.User;

/**
Expand Down Expand Up @@ -122,7 +123,7 @@ public interface DataSetService extends DataSetDataIntegrityProvider {
* @param user the user to query for data set list.
* @return a list of data sets which the given user has data read access to.
*/
List<DataSet> getUserDataRead(User user);
List<DataSet> getUserDataRead(CurrentUserDetails user);

/**
* Returns the data sets which current user have WRITE access. If the current user has the ALL
Expand All @@ -131,7 +132,7 @@ public interface DataSetService extends DataSetDataIntegrityProvider {
* @param user the user to query for data set list.
* @return a list of data sets which given user has data write access to.
*/
List<DataSet> getUserDataWrite(User user);
List<DataSet> getUserDataWrite(CurrentUserDetails user);

// -------------------------------------------------------------------------
// DataSet LockExceptions
Expand Down
Loading
Loading