Commit Graph

50 Commits

Author SHA1 Message Date
Matthew Jones
695df551e7 Handle cascading mark inactive in better ways as per rbac spec
specifically around Teams and Credentials
2014-07-24 15:21:19 -04:00
Matthew Jones
12ecc46398 Fix a bug where we allowed adding a group as a child of a
deleted/inactive group
2014-05-23 14:27:08 -04:00
Matthew Jones
56f9912edb Fix up recursive safe delete rbac and add unit test 2014-05-19 15:02:17 -04:00
Matthew Jones
2587fe9f18 Obfuscate the license engine... implements AC-1069 2014-04-03 15:49:14 -04:00
Chris Church
658581cce0 AC-1116 Support for deleting project/inventory updates. 2014-04-01 17:15:41 -04:00
Matthew Jones
306544dca0 Fix up schedule access control by referencing the right base object 2014-04-01 16:48:45 -04:00
Matthew Jones
54599578a0 Fix up ScheduleAccess queryset to fit between schedules and unified jobs 2014-04-01 13:13:53 -04:00
Chris Church
52ab418abb AC-1040 Unified job template and unified job views. 2014-03-28 01:25:25 -04:00
Matthew Jones
107fc85110 Initial scheduler integration 2014-03-27 15:53:45 -04:00
Chris Church
42e9451742 AC-1040 Fix inventory tree view. 2014-03-25 14:20:37 -04:00
Chris Church
691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Matthew Jones
a1ec54920f Small fix to license expire time check 2014-02-25 14:53:58 -05:00
Matthew Jones
2a88d3cb07 Close issue AC-905... refactor RBAC to handle inactive and deleted items 2014-02-07 09:37:59 -05:00
Chris Church
9807477944 AC-905 Work in progress on better filtering of inactive/deleted objects. 2014-02-06 16:52:09 -05:00
Matthew Jones
57030390c0 Fix AC-975... filter inactive permissions in some of the access code. 2014-02-06 08:47:00 -05:00
Chris Church
746ad384fa AC-905 Added missing active=True filter for organization RBAC. 2014-01-09 13:39:24 -05:00
Matthew Jones
a098ef4381 Fix AC-758 where we weren't considering whether the license was expired when deciding to allow creating more hosts 2014-01-05 16:56:41 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Matthew Jones
70fe75603e Improve rbac query performance for activity stream 2013-12-16 05:05:25 -05:00
Matthew Jones
61059fa1a4 Work to complete AC-673, mass refactoring of the activity stream. Some work towards AC-664/662 but will complete on those issues. This also fixes issue AC-743 (Adding help text for OPTIONS requests) and AC-675 (updates where active changes to False will now be treated as deletes) 2013-12-10 16:08:35 -05:00
Chris Church
f29809a807 AC-655 Add select_related to reduce number of queries for inventory views. 2013-11-25 15:43:56 -05:00
Chris Church
1556800c18 AC-711 Allow org admins to see all users. 2013-11-21 11:20:56 -05:00
Chris Church
4f46ad63db AC-688 Fixed error adding team credential, added test. 2013-11-20 16:49:01 -05:00
Chris Church
39ad6b0ad1 AC-686 Fix permissions for inventory source to allow org admins and users with write permissions to update. 2013-11-20 13:54:55 -05:00
Chris Church
503fc8ceb4 AC-696 Removed restriction on reassigning a credential to another user/team. 2013-11-20 10:07:39 -05:00
Chris Church
d681d0972a Fix RBAC for project updates. 2013-11-19 13:26:34 -05:00
Chris Church
a9b84d4a5c AC-505 Update inventory sources list and related permissions checks. 2013-10-08 00:37:19 -04:00
Chris Church
1ffb40458c AC-505 Work in progress on cloud inventory sync. 2013-10-07 23:21:44 -04:00
Chris Church
b0e6cf898f AC-414 Added hosts_with_active_failures field for inventory and group. AC-528 Added job_template_id and job_template_name to job info in summary fields. 2013-09-28 16:14:38 -04:00
Chris Church
b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -04:00
Chris Church
60c44bead4 AC-362. Added change permission for user who created a credential. 2013-09-05 11:42:20 -04:00
Chris Church
72d87fb908 AC-382, AC-352. Added status and last_updated fields for projects API. Various other updates to support projects using SCM. 2013-09-05 01:19:58 -04:00
Chris Church
ee3ba2c0e1 More work in progress on AC-132. 2013-08-26 10:31:39 -04:00
Chris Church
bd5e9e2b6e For AC-331. Update queries to use select_related and prefetch_related to avoid duplicate queries and improve performance. Add all_groups and groups items to summary_fields for hosts. 2013-08-08 17:44:48 -04:00
Chris Church
efbdb67c33 Work on AC-205. Filter job events that are internal as a result of async polling, update event display name for various async job events. 2013-08-07 02:42:33 -04:00
Chris Church
f787ff8251 Work on AC-205. Update display of extra events triggered by async polling. 2013-08-05 00:55:59 -04:00
Chris Church
6f09299284 Fix for AC-298. Remove check for project-team association as requirement to edit/run a job. 2013-07-28 10:22:20 -04:00
Chris Church
f6b3be40f1 Fix for AC-265. 2013-07-26 18:43:25 -04:00
Chris Church
c3639f96eb Fix AC-263 and AC-264. Update how we check for access to item referenced via foreign key, and determining whether an immutable field has changed. 2013-07-26 15:41:09 -04:00
Chris Church
4aaeb9506f Fixed AC-261. Relaxed permission requirements on parent object needed to view sublists. 2013-07-25 21:47:43 -04:00
Chris Church
0c54dcef39 Finish implementing access checks for all objects, update tests to pass. 2013-07-25 11:15:12 -04:00
Chris Church
bc49627203 Permissions-related updates and fixes, more tests, better handling of any user input that would previously generate a server error. 2013-07-25 11:15:12 -04:00
Chris Church
6fda31e790 Fix imports, __all__ definition, organization/team sublists under projects. 2013-07-25 11:15:11 -04:00
Chris Church
a6c767907e Renamed some API files/classes to mimic REST framework names, moved queryset filtering for permissions alongside other permissions/access checks, cleaned up base views to handle get_queryset based on class attributes, cleaned up post to sublist to create/attach/unattach. 2013-07-25 11:15:11 -04:00
Michael DeHaan
36e8dcff7c Don't allow deleting yourself or the very last superuser. 2013-07-11 17:10:55 -04:00
Chris Church
914e586150 Work in progress on empheral host callback. 2013-07-02 12:11:32 -04:00
Chris Church
adcc402910 Removed print, fixed so inventory tests will still work without a valid license file. 2013-06-30 12:53:25 -04:00
Michael DeHaan
5ae1ccfa3b Added code to raise permission denied on exceeded server counts using licensing system.
Some very minor/misc cleanup and minor docs also included.
2013-06-29 14:52:38 -04:00
Chris Church
e5b827944e Cleanup user permissions check, fix bug to allow admin to change own username, first_name and last_name. 2013-06-28 23:07:45 -04:00
Chris Church
07657926b9 Rename ansibleworks to awx. 2013-06-23 13:21:02 -04:00