Project

General

Profile

Bug #2273

authorization for environment model is missing

Added by Ohad Levy about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Calling


POST "/foreman/api/environments" {"environment"=>{"name"=>"production"} }

caused

undefined method `permission_failed?' for #<Environment:0x7f978b2ff808>
(NoMethodError)

Associated revisions

Revision 68234aea (diff)
Added by Ivan Necas about 6 years ago

fixes #2273 - authorization over environment model

History

#1 Updated by Ivan Necas about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF