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