Commit Graph
100 Commits
Author SHA1 Message Date
Wayne Witzel III e53c2bdfa5 Fixes #1477 2016-04-13 12:40:22 -04:00
Wayne Witzel III c0b5fafafe read-only view /organization/<id>/projects 2016-04-13 11:39:14 -04:00
Wayne Witzel III e5b9766c8f Update Job start / access permissions 2016-04-12 13:28:03 -04:00
Wayne Witzel III 558311eaed Fixup inventory test 2016-04-12 11:29:59 -04:00
Wayne Witzel III 12b1068ed4 fix open_fifo_write call 2016-04-11 16:23:06 -04:00
Wayne Witzel III 992521e040 add migrations for invsource and credentials 2016-04-11 15:00:58 -04:00
Wayne Witzel III 03845eb2fe remove age_deleted mgmt cmd, no longer needed 2016-04-11 11:26:06 -04:00
Wayne Witzel III 8e3b48b965 update required/optional and explicitly show any value disassociate 2016-04-11 10:20:55 -04:00
Wayne Witzel III a317aa6a31 added Network Credential unit tests 2016-04-11 10:14:51 -04:00
Wayne Witzel III 2a3e5dd0c0 make fifo a helper for easier testing, fixed proot check 2016-04-11 10:14:50 -04:00
Wayne Witzel III e8b35533e4 added initial API support for Network credential 2016-04-11 10:14:02 -04:00
Wayne Witzel III 4a41c0f3b4 make CustomInvetoryScript a resource. 2016-04-07 11:53:21 -04:00
Wayne Witzel III 5b366e0955 update API documentation for Team roles 2016-04-07 10:38:09 -04:00
Wayne Witzel III 39f05e2f11 Update user roles list API documentation 2016-04-07 10:36:12 -04:00
Wayne Witzel III 1da9ee5e6c fix 500 errors for credential and role lists 2016-04-06 16:58:36 -04:00
Wayne Witzel III 81d9f7e57e superuser should be able to delete users without an org 2016-04-06 16:30:06 -04:00
Wayne Witzel III 6635782ed8 add API support for CloudForms inventory (#1099) 2016-04-05 14:43:25 -04:00
Wayne Witzel III 051dfd4b0e add API support for Satellite 6 inventory (#1098) 2016-04-05 14:34:22 -04:00
Wayne Witzel III 554d8ed8a6 add customer API doc fixes:#1390 2016-04-04 12:06:13 -04:00
Wayne Witzel III 75a69d7c83 Merge branch 'devel' of github.com:ansible/ansible-tower into devel 2016-04-04 12:05:34 -04:00
Wayne Witzel III 2d8d2e5422 Merge branch 'rbac' into devel 2016-04-01 09:28:54 -04:00
Wayne Witzel III 8ff9f93eb7 Merge branch 'devel' of github.com:ansible/ansible-tower into devel 2016-04-01 09:26:24 -04:00
Wayne Witzel III d7a81c62d3 fixup inventory migration from PR feedback 2016-04-01 09:21:45 -04:00
Wayne Witzel III 1d2d043c29 fixes:#1371 - migration log write permissions 2016-04-01 09:06:40 -04:00
Wayne Witzel III ed17be242d more unicode fixes 2016-03-31 14:20:16 -04:00
Wayne Witzel III d7a4e0ca99 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-31 12:41:47 -04:00
Wayne Witzel III d68fc7a185 create actual QuerySets 2016-03-31 12:41:34 -04:00
Wayne Witzel III 24e20abb1b more unicode safety 2016-03-31 11:20:19 -04:00
Wayne Witzel III 5de3d57980 return actual QuerySet objects 2016-03-31 11:14:08 -04:00
Wayne Witzel III ad2c2af22e fixed get_queryset methods in access 2016-03-31 10:42:43 -04:00
Wayne Witzel III fa67bd3f0e unicode safety 2016-03-31 10:24:09 -04:00
Wayne Witzel III 2ae47a6bab do not use _in for single item 2016-03-31 10:23:42 -04:00
Wayne Witzel III 634f7be692 use explicit class in super to keep the view inheritable 2016-03-31 10:23:25 -04:00
Wayne Witzel III 3d05493c54 use exists instead of count 2016-03-31 10:22:10 -04:00
Wayne Witzel III a1d1ddee2b cleaner get/create impl 2016-03-31 09:58:23 -04:00
Wayne Witzel III e84008fe51 use len instead of count to take advantage of cache 2016-03-31 09:58:05 -04:00
Wayne Witzel III 097bd805fa make migrations unicode safe, fixes #1345 2016-03-30 16:40:43 -04:00
Wayne Witzel III 82b72f99ca add rbac migration logging and reduce memory consumption 2016-03-29 17:16:26 -04:00
Wayne Witzel III 08e9c46c41 Fix old/inventory tests for Credential 2016-03-24 16:05:31 -04:00
Wayne Witzel III c4c2d08042 Fixup API and old tests for credential access 2016-03-24 11:50:27 -04:00
Wayne Witzel III 20aa8c02d1 Added accessible_by/objects support for Team 2016-03-24 10:45:49 -04:00
Wayne Witzel III 9d5d3b4131 Rename instead of Add/Remove 2016-03-23 15:47:24 -04:00
Wayne Witzel III a5deb66878 deprecate Credential.team/user 2016-03-23 15:23:12 -04:00
Wayne Witzel III 2494cc56df Merge branch 'rbac' of github.com:ansible/ansible-tower into devel 2016-03-22 14:10:42 -04:00
Wayne Witzel III 5ce4cb95fa Update test make target, no fact/tests 2016-03-22 10:28:05 -04:00
Wayne Witzel III 7354d1da2c Fix test_coverage make target 2016-03-22 09:46:46 -04:00
Wayne Witzel III 99ca2efc4f Update Makefile, no more fact/tests 2016-03-22 09:31:11 -04:00
Wayne Witzel III 5313d2fcb0 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-22 09:24:56 -04:00
Wayne Witzel III 752416f4d8 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-18 11:21:13 -04:00
Wayne Witzel III b5ca6b891b Implements issue #1061, allow org admins (or higher) job delete 2016-03-18 10:28:38 -04:00
Wayne Witzel III 766190fb80 Use getattrd instead of reduce 2016-03-17 16:27:47 -04:00
Wayne Witzel III 6d249f38a7 Fix credential assertions and rename migration helpers 2016-03-17 15:41:46 -04:00
Wayne Witzel III 74e2c440a5 Rename credential migration helpers 2016-03-17 11:37:59 -04:00
Wayne Witzel III b59e960b46 Credential migration and initial tests 2016-03-17 11:21:10 -04:00
Wayne Witzel III 0e8b7ab4f4 Fixing Inventory access 2016-03-15 14:56:35 -04:00
Wayne Witzel III 3f29f1e3b5 flake8 fixup 2016-03-15 10:09:24 -04:00
Wayne Witzel III 8003b45045 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-15 09:08:40 -04:00
Wayne Witzel III 076a91ea6d Test fixup and InventorySource fixup 2016-03-15 09:07:35 -04:00
Wayne Witzel III 2e6e7ff9c8 Updating migration path for RBAC 2016-03-14 14:42:09 -04:00
Wayne Witzel III 57530602f6 Fixing old tests to use deprecated_users/deprecated_admins 2016-03-14 13:57:41 -04:00
Wayne Witzel III 1f383f9873 Added back RBAC project migration tests 2016-03-14 13:14:57 -04:00
Wayne Witzel III 5b70f29a39 Fix migration tests to use new deprecated fields 2016-03-14 11:57:05 -04:00
Wayne Witzel III 49165c4fcd Rename users/admins deprecated_users/deprecated_admins 2016-03-14 11:56:42 -04:00
Wayne Witzel III 16673b1468 Fix the m2m_changed when accessed reversed 2016-03-11 15:59:01 -05:00
Wayne Witzel III 45483fb057 Refactor m2m_changed so reverse works 2016-03-11 15:18:24 -05:00
Wayne Witzel III 31a461956a Fixed up m2m_changed for rbac, added User.admin_role 2016-03-11 14:59:47 -05:00
Wayne Witzel III 80013e67bc Remove UserResource and ensure RolePermission during migration 2016-03-11 10:58:24 -05:00
Wayne Witzel III 94e8058127 Allow org.admin_role.members to administer org.member_role.members 2016-03-11 10:41:42 -05:00
Wayne Witzel III 55e071535b Added user role creation, accessible methods, and fixed up m2m_update 2016-03-11 07:07:17 -05:00
Wayne Witzel III 09d46f9336 test fixups and re-add can_access 2016-03-09 15:33:12 -05:00
Wayne Witzel III 3df4c4ec93 fixing tests and migration issues 2016-03-08 14:09:16 -05:00
Wayne Witzel III fd2212dd33 More updates to access, use RBAC for permission checks 2016-03-08 13:47:11 -05:00
Wayne Witzel III 39a1e893fb Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-07 08:49:48 -05:00
Wayne Witzel III a1cc5b06b8 Remove can_access methods and registration 2016-03-01 17:30:32 -05:00
Wayne Witzel III 7033542910 Updated Invetory access 2016-03-01 15:01:33 -05:00
Wayne Witzel III 1d179574af Updated Organization and Credential access 2016-03-01 15:01:33 -05:00
Wayne Witzel III 380ccec687 started access refactoring, added UserAccess and updated how ALL permissions is checked 2016-03-01 15:01:33 -05:00
Wayne Witzel III a4b3567619 Added migration to remove users/admins FK from Org/Teams 2016-03-01 15:00:53 -05:00
Wayne Witzel III 5eee8e3a84 Added RBAC sync for Organization.admins 2016-02-24 15:04:21 -05:00
Wayne Witzel III 180911dfa8 Added UserResource 2016-02-24 14:09:56 -05:00
Wayne Witzel III fa1137d371 Use TransactionTestCase with Django 1.8+ 2016-02-19 15:05:07 -05:00
Wayne Witzel III fb5369404d (HACK) bump values while we investigate slowness 2016-02-18 15:33:27 -05:00
Wayne Witzel III 65c20e9de2 use objects instead of _default_manager 2016-02-18 13:36:36 -05:00
Wayne Witzel III 30f88b6e30 Added redis in-memory fixture for functional tests 2016-02-18 09:51:32 -05:00
Wayne Witzel III d464ea0f56 Merge branch 'devel' into rbac 2016-02-17 14:26:05 -05:00
Wayne Witzel III 74e1554463 Only touch the attribute if it does not exist to avoid recursion in activity streams 2016-02-17 11:59:06 -05:00
Wayne Witzel III 241ee09fff Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-02-17 11:23:18 -05:00
Wayne Witzel III 5306eaa98c more access tests and a Makefile driveby 2016-02-16 21:04:33 -05:00
Wayne Witzel III 40ec6a2da2 Fix rbac cred tests 2016-02-16 10:59:53 -05:00
Wayne Witzel III 017a7ee060 Updating RBAC migrations 2016-02-16 08:53:35 -05:00
Wayne Witzel III 7260c1cc0e Added credential access tests 2016-02-15 16:32:42 -05:00
Wayne Witzel III 86c528154b Added initial rbac doc 2016-02-10 17:07:03 -05:00
Wayne Witzel III 6877a7a566 added Group.parents rebuilding 2016-02-10 15:13:24 -05:00
Wayne Witzel III 020fda658a Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-02-09 10:28:31 -05:00
Wayne Witzel III 9f0e4669df added TeamAccess tests 2016-02-09 10:28:15 -05:00
Wayne Witzel III 3ef9baaa8b added OrganizationAccess tests 2016-02-09 10:28:03 -05:00
Wayne Witzel III 0ba7992004 flake8 fixup 2016-02-08 16:37:05 -05:00
Wayne Witzel III e71de34cc1 convert Inventory to django migrations 2016-02-08 16:22:41 -05:00
Wayne Witzel III f29fdf694f convert Team to django migrations 2016-02-08 16:06:12 -05:00
Wayne Witzel III 8cf0ba0da7 convert Credential to django migration 2016-02-08 15:54:11 -05:00