Project

General

Profile

Actions

Bug #2275

closed

Api V2: you do not have persmission

Added by Ivan Necas about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

curl -k -u admin:changeme https://localhost/foreman/api/config_templates/4/ -X PUT -H 'Accept: version=2' -H 'Content-Type: application/json' \
-d '{"config_template":{"operatingsystem_ids":[1]}}'

{
  "config_template": {
    "errors": {
      "base": [
        "You do not have permission to edit this template" 
      ]
    },
    "id": 4,
    "full_messages": [
      "You do not have permission to edit this template" 
    ]
  }
}
Actions #1

Updated by Ivan Necas about 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Ohad Levy about 11 years ago

  • Category set to API
  • Target version set to 1.2.0
Actions

Also available in: Atom PDF