peeringdb / peeringdb

Server code for https://www.peeringdb.com/
BSD 2-Clause "Simplified" License
340 stars 111 forks source link

Unable to save Organization API key permissions for Carrier objects #1605

Open CFLagerfeldt opened 2 weeks ago

CFLagerfeldt commented 2 weeks ago

Describe the bug Unable to save Organization API key permissions for Carrier objects. Chosen permission is not added to key.

To Reproduce Steps to reproduce the behavior:

  1. Go to "API key permissions" tab under an organization.
  2. Select either "Any Carrier" or a specific carrier object under your organization.
  3. Tick desired permission level, e.g. "create", "update".
  4. Click "Add".
  5. Click "Save" at bottom of page. (Nothing is actually saved.)

Expected behavior To be able to add/modify/delete permissions for Org API keys for Carrier objects.

Who is affected by the problem? Organizations with Carrier objects.

What is the impact? Cannot use Organization API keys for making changes to Carrier objects using API.

Workaround: Create a dummy user with personal API key, assign permissions to user.

jackcarrozzo commented 2 weeks ago

+1

arnoldnipper commented 2 weeks ago

+1