mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you to see the category view but not actually enter the topic itself
This commit is contained in:
@@ -316,7 +316,7 @@ define('admin/manage/category', [
|
||||
autocomplete.user(inputEl, function(ev, ui) {
|
||||
socket.emit('admin.categories.setPrivilege', {
|
||||
cid: ajaxify.data.category.cid,
|
||||
privilege: ['find', 'read'],
|
||||
privilege: ['find', 'read', 'topics:read'],
|
||||
set: true,
|
||||
member: ui.item.user.uid
|
||||
}, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user