#469 ✓resolved
Greg Schueler

Create job via API can fail due to authorization bug

Reported by Greg Schueler | November 9th, 2011 @ 09:50 AM | in (closed)

using the job import API, the request may fail due to authorization, with the audit log containing:

2011-11-09 09:22:00,095 - Evaluating Decision for: res<type:job,job:<removed>, group:test> \
  subject<Username:<removed> Group:api_token_group> action<create> \
  env<http://dtolabs.com/rundeck/env/project:null>: authorized: false: \
  No context matches subject or environment => REJECTED_NO_SUBJECT_OR_ENV_FOUND \
  (0ms)No context matches subject or environment => REJECTED_NO_SUBJECT_OR_ENV_FOUND

specifically, the env<http://dtolabs.com/rundeck/env/project:null> is incorrect

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket