Commit Graph
74 Commits
Author SHA1 Message Date
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
Wayne Witzel III 1ed18e4561 convert Organization to django migration 2016-02-08 15:53:48 -05:00
Wayne Witzel III b8a7ad17ea Added initial rbac migrations 2016-02-08 15:33:59 -05:00
Wayne Witzel III 9ddabeff83 flake8 fixups 2016-02-08 10:32:55 -05:00
Wayne Witzel III 702ce85074 change mocking behavior to be closer to the source 2016-02-06 08:57:44 -05:00
Wayne Witzel III 18ea2e0201 default to reuse-db for testing 2016-02-05 21:40:01 -05:00
Wayne Witzel III 0ab11e53dd refactoring activity_stream functional tests 2016-02-05 21:38:48 -05:00
Wayne Witzel III 5ed766ed35 Added Team.migrate_to_rbac and tests 2016-02-05 09:57:15 -05:00
Wayne Witzel III 7b3f3675f8 flake8 fixes 2016-02-05 09:18:52 -05:00
Wayne Witzel III 89236a1fe6 extended test_rbac_organization tests 2016-02-05 08:50:27 -05:00
Wayne Witzel III 58a603bac1 added Credential.migrate_to_rbac and tests 2016-02-05 08:47:15 -05:00
Wayne Witzel III b903726ddb updated organization rbac tests 2016-02-04 16:53:06 -05:00
Wayne Witzel III 724b572a3c test_rbac_migrations -> test_rbac_organization 2016-02-04 15:52:15 -05:00
Wayne Witzel III 896ecab031 Added rbac tests and migrations for Organization 2016-02-04 15:12:25 -05:00
Wayne Witzel III 932b6a4c82 add basic Organization migration 2016-02-04 15:12:25 -05:00
Wayne Witzel III b82bd9404f fixing inventory bug for GCE introduced fixing #616 2016-02-03 13:25:17 -05:00
Wayne Witzel III 58499175d6 Set the GCE_ZONE env variable to source_regions.
Fix when an empty key is provided and add tests for validate_ssh_private_key
2016-02-02 09:49:04 -05:00
Wayne Witzel III f12ab22591 functional -> old 2016-02-02 09:17:45 -05:00
Wayne Witzel III a44318f0cd fixed check_license to work with py.test 2016-02-01 18:37:56 -05:00
Wayne Witzel III 320a5b7776 fixing tests that use inventory data 2016-02-01 18:37:56 -05:00
Wayne Witzel III 71a1547c3a fixing ad_hoc imports
flake8 fixes

Fix and add awx/api/tests

added fact tests

added proper xml reports for jenkins

added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III 6eae492d28 updating commands tests
updating test imports, again

relocate base and make tests a module

added pytest config for awx/lib/site-packages

restrucuting more test imports

more test refactoring

refactoring commands tests
2016-02-01 18:37:56 -05:00
Wayne Witzel III 3d4580611e added pytest to requirements_dev
reworking test strucutre

reworked pytest.ini, removed functional imports, updated req_dev

remove unneeded __init__ files

add testing checker to local_settings examples

adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Wayne Witzel III 5d6ea242c0 reorganzing tests folder
make tests a module

refacotring to local imports for tests

fixing test import of tasks

fixing test import of tasks

more testing fixups
2016-02-01 18:37:56 -05:00
Wayne Witzel III a4aadc0b86 add a docker-refresh make target 2016-02-01 13:13:03 -05:00