Commit Graph

9 Commits

Author SHA1 Message Date
Chris Church
d7737f6b43 Changed project property available_playbooks to playbooks, exposed via API as a child resource of the project detail. Changed project local_path to a CharField and added helper method and API attribute to show the list of available choices for local_path. 2013-05-10 00:44:21 -04:00
Chris Church
2a15d07221 Split out RBAC and can_user_* methods from models into access.py. Moved list/item permissions checks from the base views into RBAC. Added serializers/views/tests for jobs REST API. 2013-05-08 10:46:16 -04:00
Chris Church
ef92fe3960 Updates to permissions checks (and tests), add logging around permission checks, permission-related fixes to support browsable API, work in progress on job templates API, added default logging settings. 2013-05-01 14:10:42 -04:00
Chris Church
bc1f3e320e Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests. 2013-04-19 15:40:13 -04:00
Michael DeHaan
86de2c8846 Check that the object we are attaching is readable by us for extra security on attaching resources. 2013-04-19 15:25:19 -04:00
Michael DeHaan
3047c07139 REST access for job template detail, access to read one follows whether permissions are available. Access to see
them should similarly follow (pending).
2013-04-19 10:42:36 -04:00
Michael DeHaan
2f5745272f Tests for permission checking on who can start jobs of certain types, etc. 2013-04-18 22:32:54 -04:00
Michael DeHaan
28332cc5a5 Ability to post new job templates. The permissions checks on these need more tests for non-org-admin users. 2013-04-18 22:11:00 -04:00
Michael DeHaan
6bb4f4f255 remove user from jobs (redundant, since we have created_by) and add start of jobs REST testing. 2013-04-18 21:05:31 -04:00