anys
229e72da88
Update role enum and access control Remove isRouteAnAPI(route: string):
...
boolean
Refactor role determination logic to use `eduPersonPrimaryAffiliation`
and `amuComposante`. This simplifies checking for Polytech affiliation
and identifies roles like professor, administration, and student more
accurately. The API access control is updated to reflect the new role
names.
2026-01-07 22:56:06 +01:00
anys
718e7f9d76
- Add role detection
...
- Restrict APIs to personnels
- Show 403 for unauthorized access"
2026-01-06 19:05:59 +01:00
anys
7d7cdd1c9a
Add 403 error page and Polytech access control.
2026-01-06 18:56:10 +01:00
anys
cb89a45743
Check if user is allowed to access
2026-01-06 10:32:52 +01:00
Clayzxr
d79cd11b41
Init download API (not working)
2025-01-27 16:47:12 +01:00
Clayzxr
793a43ef87
Fixing bug while editing mobility
2025-01-27 16:12:43 +01:00
Clayzxr
8889dc6758
Init download file (not working yet)
2025-01-27 16:04:01 +01:00
Clayzxr
42102c150d
Init file manager for Mobility
2025-01-27 16:00:07 +01:00
Clayzxr
1f4ec66a2c
Minor fix
2025-01-27 14:57:08 +01:00
Clayzxr
c9cb423ae2
Select promotion in EditMobility
2025-01-27 13:41:55 +01:00
Clayzxr
a50bfbe975
Select promotion in ConsultMobility
2025-01-27 13:38:06 +01:00
Clayzxr
e14efebf1c
types.d
2025-01-27 13:25:43 +01:00
Clayzxr
ea6b3d1f48
Fixing weeks count
2025-01-27 12:37:40 +01:00
Clayzxr
c3d33317b4
Renamed file
2025-01-27 12:05:27 +01:00
Clayzxr
286f84f5a6
Remove console log
2025-01-27 11:16:45 +01:00
Clayzxr
37d2753c56
Working EditMobility
2025-01-27 11:11:44 +01:00
Clayzxr
9d828069a5
Bug fix
2025-01-27 10:56:51 +01:00
Clayzxr
299f820339
Minor fix
2025-01-27 09:49:12 +01:00
Clayzxr
874716c39d
Using connect.ts to attach databases
2025-01-27 09:45:50 +01:00
Clayzxr
b7e9df71f3
Init PMPR-34
2025-01-27 09:32:22 +01:00
Kevin FEDYNA
1f3a723dbe
Merge branch 'main' into PMPR-27
2025-01-25 10:48:41 +01:00
Kevin FEDYNA
6d4d36e089
Fixed linting and formatting errors
2025-01-25 10:48:04 +01:00
Clayzxr
16b7579e10
Trying to make EditStudents works
2025-01-24 21:38:53 +01:00
Clayzxr
fcc0a4413c
Update student to have an ID
2025-01-24 20:48:33 +01:00
Clayzxr
c3d3354537
Trying to make EditMobility works
2025-01-24 19:46:53 +01:00
Clayzxr
f07b4dc616
Consult mobility working
2025-01-24 17:09:51 +01:00
Clayzxr
575f0df4bc
Fixing bugs
2025-01-24 16:23:47 +01:00
Clayzxr
a867f67fd9
Trying to fix DB mobility
2025-01-24 16:17:51 +01:00
Clayzxr
cc26ec9445
Trying to make mobility works
2025-01-22 22:45:34 +01:00
Clayzxr
b835495e15
Consult mobility (not working yet)
2025-01-22 17:06:42 +01:00
Clayzxr
4abf540558
Init mobility DB
2025-01-22 15:09:22 +01:00
Clayzxr
36c5c9cf39
Test to access student DB in other apps (working)
2025-01-22 11:35:47 +01:00
Kevin FEDYNA
8a5461827e
Optimized code and wrote documentation
2025-01-22 11:15:43 +01:00
Clayzxr
d767cb0898
Minor fix for DB (working)
2025-01-22 11:00:18 +01:00
Kevin FEDYNA
3ce1273455
Started documenting code
2025-01-22 00:54:43 +01:00
Kevin FEDYNA
596ee0536a
formatted code
2025-01-21 23:53:43 +01:00
Kevin FEDYNA
5e75c688c8
Added layer of abstraction for database connection
2025-01-21 23:49:52 +01:00
Kevin FEDYNA
85766ffeed
changed login and logout to adapt to domain and added ToU
2025-01-21 22:31:36 +01:00
Clayzxr
b5fedbb425
Moved all student management tools into student app for global uses (working)
2025-01-21 17:29:59 +01:00
Clayzxr
c04505e95d
Working DB with table promotions
2025-01-21 16:46:19 +01:00
Clayzxr
661b59645b
Minor fix
2025-01-21 16:32:00 +01:00
Clayzxr
db6669901b
Adding table promotion (consult not working yet)
2025-01-21 16:31:08 +01:00
Kevin FEDYNA
6b8966c5ca
Linted and formatted
2025-01-21 16:13:50 +01:00
Kevin FEDYNA
b1aa4064b1
Merge pull request #25 from fedyna-k/PMPR-22
...
Pmpr 22
2025-01-21 16:11:56 +01:00
Kevin FEDYNA
fa66621abc
Fixed partial handling and added cookies
2025-01-21 16:09:36 +01:00
Clayzxr
9d4183f8b3
Consult students from DB
2025-01-21 15:54:38 +01:00
Clayzxr
e049056295
Working DB for students insertion
2025-01-21 15:45:38 +01:00
Clayzxr
0672666bd3
CDN working with Docker
2025-01-21 15:17:47 +01:00
Clayzxr
07148f16b2
pushed changes
2025-01-20 17:33:07 +01:00
Clayzxr
a49683c10e
Use api for DB
2025-01-20 16:33:06 +01:00