Files
NodeBB/src/privileges
Julian Lam 767b2688b6 refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels (#10378)
* refactor: privileges system to use a Map in the backend instead of separate objects for keys and labels

- Existing hooks are preserved (to be deprecated at a later date, possibly)
- New init hooks are called on NodeBB start, and provide a one-stop shop to add new privileges, instead of having to add to four different hooks

* docs: fix typo in comment

* test: spec changes
2022-03-10 17:08:03 -05:00
..
2021-11-28 20:26:27 -05:00
2021-03-24 14:28:02 -04:00
2021-09-20 10:48:35 -04:00