SOLVED [RESOLVED] Users cannot post, You do not have enough privs


  • @baris said:

    zrange group:cid:<cid>:privileges:groups:topics:reply:members 0 -1

    I have verified that the registered-users group is in fact added to every category, which matches what I see in the ACP:

    [email protected]:~# redis-cli
    127.0.0.1:6379> zrange group:cid:1:privileges:groups:topics:reply:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:2:privileges:groups:topics:reply:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:3:privileges:groups:topics:reply:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:4:privileges:groups:topics:reply:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:5:privileges:groups:topics:reply:members 0 -1
    1) "administrators"
    2) "registered-users"
    
  • NodeBB

    What about topics:create is that set as well?


  • Yes, it is set as well:

    [email protected]:~# redis-cli
    127.0.0.1:6379> zrange group:cid:1:privileges:groups:topics:create:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:2:privileges:groups:topics:create:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:3:privileges:groups:topics:create:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:4:privileges:groups:topics:create:members 0 -1
    1) "administrators"
    2) "registered-users"
    127.0.0.1:6379> zrange group:cid:5:privileges:groups:topics:create:members 0 -1
    1) "administrators"
    2) "registered-users"
    
  • NodeBB

    Do registered-users see the New Topic button when they go in a category? And only get the error when they try to submit?

    We hide the new topic button if they don't have privileges to post I think.


  • I am logged in as a test user, which is a registered-users user and validated via email. I can see the "New Topic" button as well as the reply. I get the error when I try to post a reply and I also see it, now that I explored a bit more; when I go back (cmd left arrow on mac) to the previous page/category parent from an individual post.

  • NodeBB

    Is your forum public? Post a link if you can. What git revision are you on?


  • It is publicly accessible, but not public, so I will send you a message with a link to it...

    [email protected]:~/nodebb$ git branch
      v0.8.x
    * v0.9.x
    [email protected]:~/nodebb$ git status
    On branch v0.9.x
    Your branch is up-to-date with 'origin/v0.9.x'.
    
    nothing to commit, working directory clean
    

  • Resolved after talking to baris. I have the mailgun emailer plugin, and also had the db_search and MFA plugin. Disabled db_search and MFA and permissions are working as expected.

    If you experience this, try disabling/uninstalling plugins.

  • Community Rep

    MFA plugin I can see possibly doing that, but db search? 😕

    Care to explain what happened?


  • @BDHarrington7 going to reinstall search and see if everything is working. I ended up removing all but mailgun and now going to see about enabling one by one to identify the culprit.

Suggested Topics

  • 7
  • 7
  • 5
  • 20
  • 19
| |