Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gestion des stages Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fatima Ezzahra Majidi
Gestion des stages Backend
Compare revisions
dd69abf97c20a305d3a3f6a6840356f711677224 to 5c4539aa27576286a036fecb6b00dd9568b8bf7e
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
fatima-ezzahra.majidi.etu/gestion-des-stages
Select target project
No results found
5c4539aa27576286a036fecb6b00dd9568b8bf7e
Select Git revision
Branches
main
1 result
Swap
Target
fatima-ezzahra.majidi.etu/gestion-des-stages
Select target project
fatima-ezzahra.majidi.etu/gestion-des-stages
1 result
dd69abf97c20a305d3a3f6a6840356f711677224
Select Git revision
Branches
main
1 result
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
renforcement sécurité Backend
· c82c4d5b
Fatima Ezzahra Majidi
authored
2 months ago
c82c4d5b
Merge branch 'master' into 'main'
· 5c4539aa
Fatima Ezzahra Majidi
authored
2 months ago
renforcement sécurité Backend See merge request
!11
5c4539aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java
+1
-1
1 addition, 1 deletion
...m/example/gestionstagesbackend/config/SecurityConfig.java
with
1 addition
and
1 deletion
src/main/java/com/example/gestionstagesbackend/config/SecurityConfig.java
View file @
5c4539aa
...
...
@@ -43,7 +43,7 @@ public class SecurityConfig {
.
requestMatchers
(
"/**"
).
permitAll
()
// Role-based access
//
👨🎓
STUDENTS (ETUDIANTS) - Can ONLY View Students & Stages
// STUDENTS (ETUDIANTS) - Can ONLY View Students & Stages
.
requestMatchers
(
HttpMethod
.
GET
,
"/api/students"
).
hasAuthority
(
"ROLE_ETUDIANT"
)
.
requestMatchers
(
HttpMethod
.
GET
,
"/api/stages"
).
hasAuthority
(
"ROLE_ETUDIANT"
)
...
...
This diff is collapsed.
Click to expand it.