Commit Graph

11 Commits (84c20f919b6c3422474468a1d47600b7f8e2bf63)

Author SHA1 Message Date
Barış Soner Uşaklı ec5582b53c
feat: add privilege give/rescind hooks ()
* feat: add privilege give/rescind hooks

action:privileges.categories.give/rescind
action:privileges.global.give/rescind

breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`

* fix: tests, privileges renamed
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
Barış Soner Uşaklı 805da98a36 remove unnecessary groups.resetCache calls
Barış Soner Uşaklı fa499aef18 closes
Barış Soner Uşaklı c7d6cacd98 closes
Barış Soner Uşaklı 2bf275fe29
Baris Usakli 77994dcf69 fix link tag url
Baris Usakli ef9e656f34 closes
added token to topic page as well
check privilege even if token is provided
tests
Peter Jaszkowiak b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
Barış Soner Uşaklı 64c7907e6c added recent.rss
Barış Soner Uşaklı a4ba88dc60 more feed tests