What kind of roles and privileges are needed for 'database' tab in advanced tab?

Technical Support
  • Straight to the point, I have made an account dedicated for the db that nodebb uses and gave only role of 'readWrite'. I have another account that has 'root' role but I don't want to use it for the website. I would like to make another account for administrative operation for nodebb (especially for that 'database' tab). What kind of roles and privileges are needed?


Suggested Topics


  • 0 Votes
    2 Posts
    241 Views

    @seanssoh NodeBB has this functionality built in now. You might want to try it without the plugin.

  • 1 Votes
    7 Posts
    544 Views

    I try install nodebb at new ubuntu18.04:

    git clone -b master https://github.com/NodeBB/NodeBB.git nodebb
    and

    nodebb/public/src/admin/manage/users.js

    line:289 has be change

    function handleUserCreate() { $('#createUser').on('click', function () { Benchpress.parse('admin/partials/create_user_modal', {}, function (html) { bootbox.dialog({ message: html, title: '[[admin/manage/users:alerts.create]]', onEscape: true, buttons: { cancel: { label: '[[admin/manage/users:alerts.button-cancel]]', className: 'btn-link', }, create: { label: '[[admin/manage/users:alerts.button-create]]', className: 'btn-primary', callback: function () { createUser.call(this); return false; }, }, }, }); }); return false; }); }

    the bug is the same .

    Thanks

  • 0 Votes
    3 Posts
    556 Views

    Looks like NodeBB is already running on port 4567 and 4568 try stopping it with either ./nodebb stop or killing those procs. Then start again.

  • 0 Votes
    3 Posts
    478 Views

    Despite the lack of advice here, I decided to try to add the following:

    hset user:2 groupTitle administrators

    ...which gives a user that appears that it should be an admin, but when I login, that user is not an admin.

    ideas?

  • 0 Votes
    3 Posts
    741 Views

    @Atayz I did that but sadly not fixed.

    Had to restore a back-up from 2 days ago. Now it's gone but I miss data from 43 hours sadly 😞 (my fault i know)