Permissions issue

Discussion in 'Rust Discussion' started by t3h28, May 22, 2015.

  1. I keep getting this error when I try to grant a user a permission. I've never manually editted the file (fyi)

    [​IMG]
     
  2. Wulf

    Wulf Community Admin

    Please upload your oxide.groups.json and oxide.users.json from oxide/config here. What's most likely happening is players with symbols are corrupting the file, so we'd need to escape them.
     
    Last edited: May 22, 2015
  3. Attached
     
  4. Your oxide.groups.json is invalid, you have a ] too much near the end of the file.
    Corrected json:
    Code:
    {
      "admin": {
      "Title": "admin",
      "Rank": 0,
      "Perms": []
      },
      "moderator": {
      "Title": "moderator",
      "Rank": 1,
      "Perms": []
      },
      "player": {
      "Title": "player",
      "Rank": 2,
      "Perms": []
      },
      "donor": {
      "Title": "donor",
      "Rank": 1,
      "Perms": []
      },
      "owner": {
      "Title": "owner",
      "Rank": 2,
      "Perms": []
      }
    }
     
  5. You've got an extra ] at the end, remove that and you should fix your issue.
    Annnndddd @Mughisi beat me too it... Lol
     
  6. You're both amazing. Ty!