Commit Graph

2163 Commits

Author SHA1 Message Date
Akita Noek
c76976e466 Merge pull request #2 from wwitzel3/11th-hour
update access calls to new RBAC roles
2016-04-15 10:49:57 -04:00
Wayne Witzel III
eae7349665 update access calls to new RBAC roles 2016-04-15 10:45:33 -04:00
Akita Noek
3b2c6747d3 Updated test_rbac_core.py test for RolePermission removal 2016-04-15 10:39:51 -04:00
Akita Noek
6d34ca9d22 Proof of concept hacks for RolePermission elimination 2016-04-15 10:03:50 -04:00
Akita Noek
872ce2f9e8 Merge branch 'ancestor-rebuild-optimization' into 11th-hour 2016-04-14 21:56:43 -04:00
Akita Noek
25f0d65c5f Ancestor rebuild optimization progress 2016-04-14 21:56:10 -04:00
Matthew Jones
6f79ec8830 Revert "Merge pull request #1534 from chrismeyersfsu/fix-config_performance"
This reverts commit 7cc144fa59f157a5e1789a913e0d9a31720141ec, reversing
changes made to 86af9950e754b06f40cb293a36ab365f589273db.
2016-04-14 11:40:07 -04:00
Chris Meyers
27a710c508 Merge pull request #1534 from chrismeyersfsu/fix-config_performance
fixes config endpoint performance issue
2016-04-14 10:25:19 -04:00
Akita Noek
8887db231b Progress on ripping out RolePermissions 2016-04-14 09:44:20 -04:00
Chris Meyers
de1681663d fix flake8 and spelling 2016-04-14 08:55:56 -04:00
Chris Meyers
043f97fe35 fixes config endpoint performance issue 2016-04-13 17:28:38 -04:00
Chris Meyers
f0a761e889 Merge pull request #1517 from chrismeyersfsu/fix-scan_job_time
fix scan job timestamp
2016-04-13 15:49:13 -04:00
AlanCoding
dc37f00d0a use parent serializer method to avoid API browser job access check 2016-04-13 15:19:10 -04:00
Wayne Witzel III
90f9e5185a Merge pull request #1514 from wwitzel3/rbac-bug-1477
RBAC JobTemplate / Job Access Updates
2016-04-13 14:50:17 -04:00
AlanCoding
914918b5ae update permission logic, update job runtime tests 2016-04-13 13:30:06 -04:00
Wayne Witzel III
c2e9237b14 adjusting access based on PR feedback 2016-04-13 13:06:08 -04:00
Wayne Witzel III
e53c2bdfa5 Fixes #1477 2016-04-13 12:40:22 -04:00
Wayne Witzel III
4950db8ac9 remove tests that are no longer valid 2016-04-13 11:41:15 -04:00
Chris Meyers
c8010fc0ce use new timestamp logic in tests 2016-04-13 09:41:28 -04:00
AlanCoding
6fc51e2d85 preparing for new incoming migrations 2016-04-12 17:09:25 -04:00
AlanCoding
b0bbeb2ca8 move credential to prompt-for mechanism 2016-04-12 17:09:25 -04:00
AlanCoding
0dff851f62 JT validator: check for prompt_for cases to reject, and flake8 2016-04-12 17:09:25 -04:00
AlanCoding
52d8993aa8 update tests to conform to new credential behavior and launch response 2016-04-12 17:09:24 -04:00
AlanCoding
86aa0136a2 runtime inventory compatibility with blank, and resolve issue #1453 2016-04-12 17:09:24 -04:00
AlanCoding
f471f9b072 change migration to allow blank inventory field 2016-04-12 17:09:24 -04:00
AlanCoding
68d8d25d64 fill in prompted data from JT, use standard launch permission, and compat code 2016-04-12 17:09:24 -04:00
AlanCoding
bea15021b3 ask_for_inventory permissions and runtime tests finished
cleanup prompt-for additions

update migration after rebase
2016-04-12 17:09:24 -04:00
AlanCoding
19b855a4d3 prompt-for acceptance code in JT model 2016-04-12 17:09:24 -04:00
AlanCoding
cc84ed51d6 Add ability to prompt for several variable types on launch 2016-04-12 17:09:24 -04:00
Chris Meyers
e7d68409f7 fix scan job timestamp 2016-04-12 17:07:11 -04:00
Matthew Jones
28ffa57258 Implement rbac and related unit tests for notifications 2016-04-12 17:00:38 -04:00
Akita Noek
40731f6fc8 Merge pull request #1513 from anoek/1499
Fix erronous singleton role created for users
2016-04-12 16:54:19 -04:00
Akita Noek
1d27ddc7d2 Fix bad migration from #1496 2016-04-12 16:50:54 -04:00
Akita Noek
ad89491a07 Fixed bad merge 2016-04-12 16:31:11 -04:00
Akita Noek
ea3a7ef227 Merge branch 'devel' of github.com:ansible/ansible-tower into migration 2016-04-12 16:30:09 -04:00
Wayne Witzel III
6bc765d1b5 Merge pull request #1507 from wwitzel3/rbac-bug-1422
RBAC Job Fixes
2016-04-12 16:22:47 -04:00
Akita Noek
a0356afbac Improved code clarity and UI naming for user owner role creation
#1499
2016-04-12 16:11:45 -04:00
Akita Noek
c984b33f1e Fix erronous singleton role created for users
Needed to be just a normal role, ie with `name` assigned instead of
`singleton_name`

 Addresses #1499
2016-04-12 15:43:27 -04:00
Akita Noek
29c7ecf6a8 Merge branch 'devel' into migration 2016-04-12 15:12:43 -04:00
Akita Noek
8c917de24d Fix faulty activitystream test
Test assumed that the only entry in activitystream would be related to
the creation of the organization, which in this case was not true, the
most recent being something related to the user object being created or
modified.
2016-04-12 15:03:24 -04:00
Akita Noek
7b4e7ec5b3 Switch to explicitly stored implicit role parents
Completes #1496
2016-04-12 14:50:52 -04:00
Wayne Witzel III
7cd4fb7b7a Merge pull request #1502 from wwitzel3/rbac-feature-1324
Update docs, driveby test fix.
2016-04-12 13:32:56 -04:00
Wayne Witzel III
e5b9766c8f Update Job start / access permissions 2016-04-12 13:28:03 -04:00
Chris Meyers
69812fc8ab Merge pull request #1490 from chrismeyersfsu/fix-labels_unique
cascade delete labels
2016-04-12 13:09:26 -04:00
Akita Noek
b77d8dab47 flake8 fixes
Signed-off-by: Akita Noek <anoek@ansible.com>
2016-04-12 12:04:39 -04:00
Akita Noek
e9aff8d67d Moved necessary add field migration to exist prior to dependent implicit role field which references the field 2016-04-12 11:40:17 -04:00
Akita Noek
74d86859f1 Fix project migration when project has exactly one org 2016-04-12 11:40:17 -04:00
Akita Noek
5f8e7bbf55 Replace user.admin_role usage with manual version that works in migrations 2016-04-12 11:40:17 -04:00
Akita Noek
86e29221d5 Fixed missing orgfunc usage to resolve organization during credential migration 2016-04-12 11:40:17 -04:00
Akita Noek
59b6ed3b9c Update rbac schema migrations so we have all parameters we need to operate during a migration
We need all those rbac fields definied in the migration in order for the
current apps to have access to them during a migration.
2016-04-12 11:40:17 -04:00