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

#13034 -Add TASK_VIEW_ARCHIVED user rights and the necessary changes #13049

Merged
merged 38 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
277debf
#13034 -Add TASK_VIEW_ARCHIVED user rights and the necessary changes
carina29 Mar 19, 2024
71db9ca
#13034 - Add CASE_VIEW_ARCHIVED user right and the necessary changes
carina29 Mar 20, 2024
dffc86f
#13034 - Formatting
carina29 Mar 20, 2024
c6caac1
#13034 - Formatting 2
carina29 Mar 20, 2024
ba7fce6
#13034 - Add EVENT_VIEW_ARCHIVED, CONTACT_VIEW_ARCHIVED, EVENTPARTICI…
carina29 Mar 20, 2024
99b684d
#13034 - Add EVENTGROUP_VIEW_ARCHIVED, TRAVEL_ENTRY_VIEW_ARCHIVED, IM…
carina29 Mar 22, 2024
668b165
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 Apr 18, 2024
c2a43c4
#13034 - Add EVENTGROUP_VIEW_ARCHIVED right and changes
carina29 Apr 22, 2024
fb50588
#13034 - Add IMMUNIZATION_VIEW_ARCHIVED changes
carina29 Apr 22, 2024
7c846b2
#13034 - Add changes for TRAVEL_ENTRY_VIEW_ARCHIVED and other refacto…
carina29 Apr 23, 2024
b25a6f8
#13034 - Add CAMPAIGN_VIEW_ARCHIVED and ENVIRONMENT_VIEW_ARCHIVED rig…
carina29 Apr 24, 2024
16c5a88
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 Apr 25, 2024
ff21c06
#13034 - Add INFRASTRUCTURE_VIEW_ARCHIVED right and the necessary cha…
carina29 Apr 25, 2024
9e049e7
#13034 - Change value
carina29 Apr 25, 2024
ee1033b
#13034 - Add CAMPAIGN_FORM_DATA_VIEW_ARCHIVED right
carina29 Apr 26, 2024
4d53a0c
#13034 - Users without VIEW_ARCHIVED_X will not be able to view archi…
carina29 Apr 30, 2024
8b89c0b
#13034 - Users without VIEW_ARCHIVED_X will not be able to view archi…
carina29 Apr 30, 2024
cd6e7f4
#13034 - Add migration script
carina29 Apr 30, 2024
ac5e10d
#13034 - Delete TODO comments
carina29 Apr 30, 2024
fc35df2
#13034 - bugfixes
carina29 Apr 30, 2024
372d343
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 Apr 30, 2024
ad0bd1b
#13034 - Fix failing test
carina29 May 7, 2024
0452f34
#13034 - Fixing the typo
carina29 May 7, 2024
299280b
#13034 - Refactorings after review, part 1
carina29 May 8, 2024
2a5a7ba
#13034 - Changes after review, part 2
carina29 May 8, 2024
6f396ef
#13034 - Changes after review, part 3
carina29 May 8, 2024
40a27c3
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 May 8, 2024
186be1d
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 May 14, 2024
7808986
#13034 - Refactoring after review for Case, Contact,Task
carina29 May 14, 2024
134ef1f
#13034 - Refactoring after review for Event, EventParticipant,EventGroup
carina29 May 15, 2024
1899393
#13034 - Refactoring after review for Campaign, Immunization,TravelEntry
carina29 May 15, 2024
eb74766
#13034 - Refactoring after review for Environment
carina29 May 15, 2024
65c7028
#13034 - Change the getByUuid methods from the Resource classes to en…
carina29 May 15, 2024
d355555
#13034 - Replace getByUuid methods for Case, Task, Contact, Event
carina29 May 16, 2024
3a09d9d
#13034 - Replace getByUuid methods for Campaign, Immunization, Travel…
carina29 May 16, 2024
e8749f4
#13034 - Replace assertThrows from junit4 with assertThrows from junit5
carina29 May 16, 2024
897035b
#13034 - Replace getByUuid method with getEnvironmentByUuid()
carina29 May 16, 2024
c0d3186
Merge branch 'development' into #13034-Add_view_archived_userrights
carina29 May 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public interface CampaignFacade extends CoreFacade<CampaignDto, CampaignIndexDto

CampaignReferenceDto getLastStartedCampaign();

CampaignDto getCampaignByUuid(String uuid);

List<CampaignDashboardElement> getCampaignDashboardElements(String campaignUuid);

List<String> getAllActiveUuids();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public interface ContactFacade extends CoreFacade<ContactDto, ContactIndexDto, C

List<String> getAllActiveUuids();

ContactDto getContactByUuid(String uuid);

void generateContactFollowUpTasks();

Long countContactsForMap(RegionReferenceDto regionRef, DistrictReferenceDto districtRef, Disease disease, Date from, Date to);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ public interface EnvironmentFacade extends CoreFacade<EnvironmentDto, Environmen

List<String> getAllActiveUuids();

EnvironmentDto getEnvironmentByUuid(String uuid);

}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ Page<EventGroupIndexDto> getIndexPage(

void deleteEventGroup(String uuid);

void archiveOrDearchiveEventGroup(String uuid, boolean archive);
void archiveEventGroup(String uuid);

void dearchiveEventGroup(String uuid);

List<RegionReferenceDto> getEventGroupRelatedRegions(String uuid);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public interface ImmunizationFacade extends CoreFacade<ImmunizationDto, Immuniza

List<String> getDeletedUuidsSince(Date since);

ImmunizationDto getImmunizationByUuid(String uuid);

List<ImmunizationDto> getSimilarImmunizations(ImmunizationSimilarityCriteria criteria);

void updateImmunizationStatuses();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface TaskFacade extends PermanentlyDeletableFacade, ArchivableFacade

Map<String, Long> getPendingTaskCountPerUser(List<String> userUuids);

TaskDto getByUuid(String uuid);
TaskDto getTaskByUuid(String uuid);

List<String> getAllActiveUuids();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public interface TravelEntryFacade extends CoreFacade<TravelEntryDto, TravelEntr

List<DeaContentEntry> getDeaContentOfLastTravelEntry();

TravelEntryDto getTravelEntryByUuid(String uuid);

List<TravelEntryListEntryDto> getEntriesList(TravelEntryListCriteria criteria, Integer first, Integer max);

Page<TravelEntryIndexDto> getIndexPage(TravelEntryCriteria criteria, Integer first, Integer max, List<SortProperty> sortProperties);
Expand Down
Loading
Loading