Owen Diffey
|
18c6f76f86
refactor: Remove permissions.ts
|
4 months ago |
Owen Diffey
|
a36ebbf737
refactor: Hard code frontend view permissions for roles
|
4 months ago |
Kristian Vos
|
f8e33fa43c
refactor: collect permissions dynamically using hasPermission, rename old model hasPermission properties/functions to differntiate
|
4 months ago |
Kristian Vos
|
a6d077292e
fix: add missing isDj to _hasPermission of station deleted/updated events
|
4 months ago |
Kristian Vos
|
124ed36c2c
fix: don't show EditNews form/preview if data hasn't loaded yet
|
4 months ago |
Kristian Vos
|
583be62824
fix: old permission format was being used in data module jobs with model id scope
|
4 months ago |
Kristian Vos
|
ec5378f71f
fix: bulk model loading wouldn't handle errors at all
|
4 months ago |
Kristian Vos
|
2f1942df65
refactor: clean up the data update/delete events hasPermission code a bit
|
4 months ago |
Kristian Vos
|
fce0f8911a
fix: use dots instead of colon for permission separator for now to fix tests
|
4 months ago |
Kristian Vos
|
215c6f4d2b
feat: implement permission functions for updated/deleted data events
|
4 months ago |
Kristian Vos
|
cb3672d3f1
fix: session/socketId wasn't provided when doing event assertPermission from Subscribe/SubscribeMany
|
4 months ago |
Kristian Vos
|
1e93eb6545
refactor: change permission scope delimiter for jobs and events
|
4 months ago |
Kristian Vos
|
e1c49a548e
refactor: change EventsModule SubscribeMany job to use new method of checking event permissions
|
5 months ago |
Kristian Vos
|
8d8daad5b6
feat: added spec file for EventsModule Subscribe job, initial version
|
5 months ago |
Kristian Vos
|
aaa0a5c56b
chore: lint fixes
|
5 months ago |
Kristian Vos
|
8dcb23d25f
refactor: improve event subscribe permission system functionality
|
5 months ago |
Kristian Vos
|
e99514c781
fix: property type returned by setInterval is Timeout, not Timer
|
5 months ago |
Kristian Vos
|
7d3713a587
chore: disable eslint error/warning of ts-ignore in spec files, for now
|
5 months ago |
Kristian Vos
|
1f23fd7794
refactor: exclude all logs to console by default when running tests
|
5 months ago |
Kristian Vos
|
2a0d5282da
fix: set default logging type to info, to fix include/exclude rules for info logs
|
5 months ago |
Kristian Vos
|
8351664bc4
chore: use color with mocha testing
|
5 months ago |
Kristian Vos
|
ce7d0b41d9
fix: don't include spec files when loading job/event files
|
5 months ago |
Owen Diffey
|
fd49495beb
refactor: Assert findById permission in base model updated and deleted events
|
5 months ago |
Owen Diffey
|
c0c2675cf6
Merge branch 'release/backend-rewrite' into refactor/event-classes
|
5 months ago |
Owen Diffey
|
c72e69a30f
feat: Starts adding job spec
|
5 months ago |
Owen Diffey
|
f10c9183f9
feat: Adds test setup
|
5 months ago |
Owen Diffey
|
cb261c6773
refactor: Move event model permission override to base class
|
5 months ago |
Owen Diffey
|
4d421ad19d
refactor: Assert permission as default to authorize event
|
5 months ago |
Kristian Vos
|
b752eafe35
fix: subscribing/unsubscribing to create events
|
5 months ago |
Owen Diffey
|
0b8420f5f7
refactor: Authorize subscribe job using event classes
|
6 months ago |