1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Michael DeHaan
b83e70b09a Remove various license headers. License was changed to proprietary previously so fix up headers. 2013-05-14 18:44:02 -04:00
Chris Church
e528ede913 Disable transaction middleware when starting jobs via the API (only for tests). 2013-05-14 15:29:12 -04:00
Chris Church
fe5a454441 Basic support for job start/cancel via REST API with supporting tests. 2013-05-13 10:43:43 -04:00
Chris Church
a20573a68d More job template tests, enable creating a new job by posting to the job template job list. 2013-05-11 05:11:31 -04:00
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