Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b97d275
state district mapping
AlokSP Jan 20, 2026
181f17e
Project Report
AlokSP Jan 22, 2026
a96a73c
:add Project Report Get and Post
AlokSP Feb 3, 2026
1afb41a
resolved conflict
AlokSP Mar 9, 2026
154d91b
add Project Report template
AlokSP Feb 24, 2026
100a077
state district maping repo method
AlokSP Feb 25, 2026
b758667
all districts
AlokSP Feb 25, 2026
ae55251
addProject ajax controller, state and district
AlokSP Feb 25, 2026
c51a8e0
enable and disable project Report
AlokSP Feb 26, 2026
872d759
resloved merge conflict
AlokSP Mar 9, 2026
e8e5adf
delete Project Report Ajax and urls
AlokSP Feb 27, 2026
e914643
project report deletion , statedir and distrct dir
AlokSP Feb 27, 2026
5b711c6
project report edit
AlokSP Mar 2, 2026
0e6d184
token
AlokSP Mar 9, 2026
504795d
update Project Report Post
AlokSP Mar 11, 2026
a31324d
token in add Project Report
AlokSP Mar 11, 2026
bad936f
Update Project Report Template
AlokSP Mar 16, 2026
7931649
Project Report View Admin
AlokSP Mar 17, 2026
b773860
project report admin view get
AlokSP Mar 18, 2026
5e4363b
Common Elements of Project Reports
AlokSP Mar 20, 2026
2319f90
State and district icons
AlokSP Mar 23, 2026
bc862e7
Project-Reports
AlokSP Mar 25, 2026
03755ae
state , district and filetype AjaxController
AlokSP Mar 26, 2026
6dd25bb
dynamic dropdowns for state, district, and file type in jquery
AlokSP Mar 27, 2026
bd0e55c
Project Reports Template
AlokSP Mar 30, 2026
ff28f35
download Project Report
AlokSP Apr 8, 2026
76ce762
view of pdf and image
AlokSP Apr 9, 2026
cb9b434
share project report
AlokSP Apr 10, 2026
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
73 changes: 39 additions & 34 deletions src/main/java/com/health/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,35 +46,35 @@ public static BCryptPasswordEncoder passwordEncoder() {
"/tutorial_view/**", "/getConsultantDetails/**", "/reset/**", "/resetPassword/**", "/getCatAndLan/**",
"/getTopicOnCatAndLan/**", "/getRolesOnCatLanUser/**", "/getTutorial/**", "/statistics", "/statistics/**",
"/tutCountOnCat/**", "/tutCountOnLan/**", "/cdContentInfo/**", "/getContributorByTutLanUser/**",
"/showConsultant/**", "/showLanguages/**", "/unpublishTutorial/**", "/loadTopicByCategory/**",
"/loadLanguageByCategoryTopic/**", "/loadTopicAndLanguageByCategory/**",
"/loadCategoryAndLanguageByTopic/**", "/loadCategoryAndTopicByLanguage/**", "/tutorialsSearch/**",
"/tutorialsSearch1/**", "/checkTutorial/**", "/Slide/**", "/TimeScript/**", "/OriginalScript/**",
"/Brochure-English/**", "/Brochure/**", "/ResearchPaper/**", "/downloads",
"/loadLanguageByCategoryResource", "/autosuggest/**", "/loadLanguageAndTopicByCategoryResource",
"/loadTutorialCountByTopicAndLanguage", "/loadTutorialCountByTopics", "/downloadResources", "/citations",
"/api/scriptPublished/**", "/loadLanguageByPackage/**", "/promoVideoView/**", "/trainingModules/**",
"/downloadTrainingModules", "/loadMessageByPackageAndLan/**", "/loadLanguageByWeek/**",
"/loadWeekByLanguage/**", "/trainingTutorials/**", "/hstTrainingModuleView/**", "/downloadManager/**",
"/downloadManagerforhst/**", "/downloadHealthTutorials/**", "/Training-Resource/**",
"/Training-Resources/**", "/loadLanAndFileTypeByTopic/**", "/loadTopicAndFileTypeByLan/**",
"/loadTopicAndLanByFileType/**", "/downloadTrainingResource/**", "/shared-Training-Resource/**",
"/shared-training-resource-file/**", "/check-deployment", "/training-resources/view-share/**" };

"/showConsultant/**", "/showLanguages/**", "/loadTopicByCategory/**", "/loadLanguageByCategoryTopic/**",
"/loadTopicAndLanguageByCategory/**", "/loadCategoryAndLanguageByTopic/**",
"/loadCategoryAndTopicByLanguage/**", "/tutorialsSearch/**", "/tutorialsSearch1/**", "/checkTutorial/**",
"/Slide/**", "/TimeScript/**", "/OriginalScript/**", "/Brochure-English/**", "/Brochure/**",
"/ResearchPaper/**", "/downloads", "/loadLanguageByCategoryResource", "/autosuggest/**",
"/loadLanguageAndTopicByCategoryResource", "/loadTutorialCountByTopicAndLanguage",
"/loadTutorialCountByTopics", "/downloadResources", "/citations", "/api/scriptPublished/**",
"/loadLanguageByPackage/**", "/promoVideoView/**", "/trainingModules/**", "/downloadTrainingModules",
"/loadMessageByPackageAndLan/**", "/loadLanguageByWeek/**", "/loadWeekByLanguage/**",
"/trainingTutorials/**", "/hstTrainingModuleView/**", "/downloadManager/**", "/downloadManagerforhst/**",
"/downloadHealthTutorials/**", "/Training-Resource/**", "/Training-Resources/**",
"/loadLanAndFileTypeByTopic/**", "/loadTopicAndFileTypeByLan/**", "/loadTopicAndLanByFileType/**",
"/downloadTrainingResource/**", "/shared-Training-Resource/**", "/shared-training-resource-file/**",
"/check-deployment", "/training-resources/view-share/**", "/loadDistrictAndFileTypeByState/**",
"/loadStateAndFileTypeByDistrict/**", "/loadStateAndDistrictByFileType/**", "/Project-Reports/**",
"/downloadProjectReport/**", "/project-reports/view-share/**", "/shared-Project-Report/**",
"/shared-project-report-file/**", };

/**
* url matcher for SUPERADMIN
*/
public static final String[] SUPERUSER_URL = { "/addCategory/**", "/updateCategory/**", "/category/edit/**",
"/addOrganizationRole/**", "/organization_role/edit/**", "/update_organization_role/**", "/addLanguage/**",
"/language/edit/**", "/updateLanguage/**", "/addRole/**", "/addTopic/**", "/topic/edit/**",
"/updateTopic/**", "/uploadQuestion/**", "/question/edit/**", "/updateQuestion/**", "/addBrochure/**",
"/addCarousel/**", "/approveRole/**", "/assignTutorialToContributor/**", "/assignContributor/edit/**",
"/enableRoleById/**", "/deleteMasterRole/**", "/viewTrainee/**", "/details/**", "/tutorialStatus/**",
"/users/**", "/unpublishTopic/**", "/clearAllCaches/**", "/addConsultant/**",
"/enableDisableCourseCatTopic", "/delete-category-topic-from-course", "/createCourse",
"/courseName/edit/**", "/updateCourseName",

// "/unpublishTutorial/**"
"/updateTopic/**", "/uploadQuestion/**", "/question/edit/**", "/updateQuestion/**", "/approveRole/**",
"/assignTutorialToContributor/**", "/assignContributor/edit/**", "/enableRoleById/**",
"/deleteMasterRole/**", "/viewTrainee/**", "/details/**", "/tutorialStatus/**", "/users/**",
"/unpublishTopic/**", "/clearAllCaches/**",

};

Expand All @@ -95,13 +95,6 @@ public static BCryptPasswordEncoder passwordEncoder() {
public static final String[] CONTRIBUTOR_URL = { "/uploadTutorial/**", "/addOutline/**", "/addKeyword**",
"/addPreRequisticWhenNotRequired/**", "/addPreRequistic/**", "/addVideo/**", "/addSlide/**",
"/addScript/**", "/listTutorialForContributorReview/**", "/Contributor/review/**", "/uploadTimescript/**",
"/addLiveTutorial", "/updateLiveTutorial", "/addSpokenVideo", "/spokenVideo/edit/**", "/addVideoResource",
"/createPackage", "/packageName/edit/**", "/updatePackageName", "/weekTitleVideo/editTitle/**",

"/updateTitle", "/weekTitleVideo/editWeek/**", "/updateWeek", "/enableDisableCourseCatTopic",
"/delete-category-topic-from-course", "/createCourse", "/courseName/edit/**", "/updateCourseName",
"/addTrainingResource", "/trainingReource/view/**", "/trainingReourceAdminView/**",
"/trainingReource/edit/**", "/enableDisableTrainingResource", "/delete-trainingResource",

};

Expand Down Expand Up @@ -160,13 +153,25 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers("/addBrochure/**", "/addCarousel/**", "/addConsultant/**", "/addEvent/**",
"/addTestimonial/**", "/addPromoVideo/**", "/addResearchPaper/**", "/brochure/edit/**",
"/promoVideo/edit/**", "/carousel/edit/**", "/event/edit/**", "/testimonial/edit/**",
"/createPackage", "/packageName/edit/**", "/updatePackageName", "/weekTitleVideo/editTitle/**",
"/createPackage/**", "/packageName/edit/**", "/updatePackageName/**",
"/weekTitleVideo/editTitle/**",

"/updateTitle", "/weekTitleVideo/editWeek/**", "/updateWeek", "/researchPaper/edit/**",
"/updateTitle/**", "/weekTitleVideo/editWeek/**", "/updateWeek/**", "/researchPaper/edit/**",
"/enableDisableBrouchure/**", "/enableDisableConsultant/**", "/enableDisableTestimonial/**",
"/addCitation/**", "/citation/edit/**", "/enableDisableCourseCatTopic",
"/delete-category-topic-from-course", "/createCourse", "/courseName/edit/**",
"/updateCourseName", "/addTrainingResource")
"/addCitation/**", "/citation/edit/**", "/enableDisableCourseCatTopic/**",
"/delete-category-topic-from-course/**", "/createCourse/**", "/courseName/edit/**",
"/enableDisablePromoVideo/**", "/enableDisablePacakgeLanguage/**",
"/enableDisableResearchPaper/**", "/enableDisableEvent/**", "/enableDisableCarousel/**",
"/updateCourseName/**", "/addTrainingResource/**", "/updateCitation/**", "/updateConsultant/**",
"/updateSpokenVideo/**", "/updateTrainingResource/**", "/updateEvent/**",
"/updatePromoVideo/**", "/updateBrochure/**", "/updateResearchPaper/**", "/updateCarousel/**",
"/updateTestimonial/**", "/addLiveTutorial/**", "/updateLiveTutorial/**", "/addSpokenVideo/**",
"/spokenVideo/edit/**", "/addVideoResource/**", "/trainingReource/view/**",
"/trainingReourceAdminView/**", "/trainingReource/edit/**", "/enableDisableTrainingResource/**",
"/delete-trainingResource/**", "/addProjectReport/**", "/projectReportAdminView/**",
"/projectReport/edit/**", "/enableDisableProjectReport/**", "/delete-projectReport/**"

)

.hasAnyAuthority("SUPER_USER", "CONTRIBUTOR").antMatchers(PUBLIC_MATCHERS).permitAll().anyRequest()
.authenticated().and().exceptionHandling().accessDeniedPage("/access-denied");
Expand Down
Loading
Loading