Permission value bugged in categories.json


(Tempest) #1

When I visit https://meta.discourse.org/categories.json all of the permission values are set to null.


(Kane York) #2

Previous topic:

That topic was closed for fixing the drafts not saving.


(Jeff Atwood) #3

That is why you do not open a topic with six different topics inside it. One thing at a time please, kitchen sink topics will be ignored or closed. :smiley:


(Tempest) #4

Yeah my bad, I noticed the draft issue whiling posting about the permission issue :stuck_out_tongue:


(Tempest) #5

Bump, could this issue be fixed anytime soon? >.<

I want this fixed so I can know what sections a user can post threads in for my app.


(Jeff Atwood) #6

Is this still an issue?


(Tempest) #7

Yeah looks like it. I switched to a different endpoint which has it working so it’s not a huge deal on my end.

/categories.json

  {
    "id": 12,
    "name": "discourse hub",
    "color": "b2c79f",
    "text_color": "FFFFFF",
    "slug": "discourse-hub",
    ....
    "permission": null,
    ...
  }

/site.json

  {
    "id": 12,
    "name": "discourse hub",
    "color": "b2c79f",
    "text_color": "FFFFFF",
    "slug": "discourse-hub",
    ....
    "permission": 1,
    ...
  }

(Jeff Atwood) #8