You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8e5a2276af
* feat: add assignee checking when updating flag Prior to this, it was possible to update the assignee to any value (or any user. This commit adds checking to allow only admins, global moderators, or in the case of flagged posts, moderators. Also some prep work was added for value checking `state`. * feat: value checking `state` on flag update The state should be one of the constants defined earlier in the file. |
5 years ago | |
---|---|---|
.. | ||
database | 5 years ago | |
files | 6 years ago | |
helpers | 5 years ago | |
mocks | 5 years ago | |
.eslintrc | 8 years ago | |
authentication.js | 6 years ago | |
batch.js | 6 years ago | |
blacklist.js | 6 years ago | |
build.js | 5 years ago | |
categories.js | 5 years ago | |
controllers-admin.js | 6 years ago | |
controllers.js | 5 years ago | |
coverPhoto.js | 6 years ago | |
database.js | 6 years ago | |
defer-logger.js | 6 years ago | |
emailer.js | 7 years ago | |
feeds.js | 6 years ago | |
file.js | 5 years ago | |
flags.js | 5 years ago | |
groups.js | 5 years ago | |
image.js | 8 years ago | |
locale-detect.js | 6 years ago | |
messaging.js | 5 years ago | |
meta.js | 6 years ago | |
mocha.opts | 6 years ago | |
notifications.js | 5 years ago | |
pagination.js | 8 years ago | |
plugins.js | 5 years ago | |
posts.js | 5 years ago | |
pubsub.js | 6 years ago | |
rewards.js | 5 years ago | |
search-admin.js | 6 years ago | |
search.js | 6 years ago | |
settings.js | 6 years ago | |
socket.io.js | 5 years ago | |
template-helpers.js | 6 years ago | |
topics.js | 5 years ago | |
translator.js | 5 years ago | |
uploads.js | 5 years ago | |
user.js | 5 years ago | |
utils.js | 5 years ago |