Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6ed168a
state district mapping
AlokSP Jan 20, 2026
fc801eb
Project Report
AlokSP Jan 22, 2026
1382cd0
:add Project Report Get and Post
AlokSP Feb 3, 2026
0661a6f
resolved conflict
AlokSP Mar 9, 2026
6c3b52a
add Project Report template
AlokSP Feb 24, 2026
63ad966
state district maping repo method
AlokSP Feb 25, 2026
8a6314e
all districts
AlokSP Feb 25, 2026
8d0e1f5
addProject ajax controller, state and district
AlokSP Feb 25, 2026
e5e33e9
enable and disable project Report
AlokSP Feb 26, 2026
40203e8
resloved merge conflict
AlokSP Mar 9, 2026
f097104
delete Project Report Ajax and urls
AlokSP Feb 27, 2026
ae7084e
project report deletion , statedir and distrct dir
AlokSP Feb 27, 2026
74b3618
project report edit
AlokSP Mar 2, 2026
aab8847
token
AlokSP Mar 9, 2026
be27001
update Project Report Post
AlokSP Mar 11, 2026
9966015
token in add Project Report
AlokSP Mar 11, 2026
870386a
Update Project Report Template
AlokSP Mar 16, 2026
d9b5259
Project Report View Admin
AlokSP Mar 17, 2026
53cdcb3
project report admin view get
AlokSP Mar 18, 2026
aa660da
Common Elements of Project Reports
AlokSP Mar 20, 2026
6f054eb
State and district icons
AlokSP Mar 23, 2026
2b61f04
Project-Reports
AlokSP Mar 25, 2026
53afdfb
state , district and filetype AjaxController
AlokSP Mar 26, 2026
8231141
dynamic dropdowns for state, district, and file type in jquery
AlokSP Mar 27, 2026
4500b05
Project Reports Template
AlokSP Mar 30, 2026
36ba6c8
download Project Report
AlokSP Apr 8, 2026
9ddcf83
view of pdf and image
AlokSP Apr 9, 2026
b3cfc94
share project report
AlokSP Apr 10, 2026
a1379cc
shared Project Report Template
AlokSP Apr 13, 2026
fe8b188
delete
AlokSP Apr 13, 2026
669819c
Large Media File
AlokSP Apr 21, 2026
9883117
dropdown and download Large file
AlokSP May 11, 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