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

7519 Commits

Author SHA1 Message Date
Matthew Jones
062ace975c Add the super-handy pprofile to dev reqs 2016-05-03 12:01:58 -04:00
jlmitch5
3295b39077 Merge pull request #1776 from jlmitch5/orgUpdates
org update linkouts work
2016-05-03 11:59:08 -04:00
John Mitchell
7b1008a08d org update linkouts work 2016-05-03 11:58:35 -04:00
Wayne Witzel III
b78c3a3e61 Fix error when adding roles from the User.roles side 2016-05-03 11:55:40 -04:00
Akita Noek
e237648f4c Merge pull request #1761 from anoek/migration-fixes
Migration fixes
2016-05-03 11:32:38 -04:00
Wayne Witzel III
453a0aaff2 Implement ActivityStream for RBAC Roles 2016-05-03 10:16:04 -04:00
Shane McDonald
0a315f5c60 Merge pull request #1770 from shanemcd/prevent-orphaned-supervisor-processes
Fix supervisor restarts / prevent orphaned processes.
2016-05-03 10:13:01 -04:00
Leigh
6adcbbaec7 Merge pull request #1767 from leigh-johnson/FormRestyle
decrease .Form-formGroup padding
2016-05-03 10:11:24 -04:00
Leigh
9a519b1c04 Merge pull request #1768 from leigh-johnson/DashboardHostsActiveFailures
add /#/home/hosts/?active-failures=true
2016-05-03 10:11:16 -04:00
Leigh
1d22324c97 Merge pull request #1769 from leigh-johnson/ScheduleFormCancel
Fix alignment of generic schedules / mgmt schedules form cancel button
2016-05-03 09:48:46 -04:00
Leigh Johnson
1199ba1020 fix form cancel alignment in gen schedules / mgmt schedules templates, resolves #1720 2016-05-03 00:07:59 -04:00
Leigh Johnson
f7b5772eba add /#/home/hosts/?active-failures=true, resolves #1678 2016-05-02 23:59:39 -04:00
Leigh Johnson
5f040640fd Merge branch 'leigh-johnson-GroupBadges' into devel 2016-05-02 23:32:29 -04:00
Leigh Johnson
484106ccf2 resolve a merge conflict in PR #1709 2016-05-02 23:31:56 -04:00
Leigh Johnson
fa5f8c3dff decrease .Form-formGroup padding, resolves #1578 2016-05-02 23:12:50 -04:00
Jared Tabor
e0d181110a cleaning up jshint errors 2016-05-02 13:42:26 -07:00
AlanCoding
3e680329fd add additional launch endpoint fields for UI 2016-05-02 16:41:19 -04:00
Akita Noek
18796ec3ff Inventory/Group/Host updating is allowed by those with update_role not just admin_role 2016-05-02 16:38:57 -04:00
Jared Tabor
8630a14ee8 Changing license workflow for first time user 2016-05-02 13:19:59 -07:00
Jared Tabor
5c02b2dafe Remove route resolves from login/logout routes
Was previously using wrong route names.
2016-05-02 13:12:34 -07:00
Akita Noek
e50f20eb69 Check can_update for ProjectAccess.can_start for superusers too
can_update is a special model getter that checks to see if the project
is in a valid state it looks like - so it's important to check this for
superusers too. The can_change check does the implicit is_superuser
check for us, so we don't need another expclit check here, just
can_start protection.
2016-05-02 15:56:05 -04:00
Akita Noek
f6f555b185 Prevent organization changes for teams
In old_access.py we restricted even super users from doing this. I'm not
sure that it'd actually break anything to allow this, but I'm making the
new access.py behave like old_access.py for good measure until we have a
valid usecase for this.
2016-05-02 15:49:59 -04:00
Akita Noek
826874d61c CredentialAccess fix to ensure appropriate access to what we're adding a credential to 2016-05-02 15:43:12 -04:00
Akita Noek
c7f2568c10 Fixed up some credential migration issues 2016-05-02 14:44:15 -04:00
Matthew Jones
9cc9ef6b33 Use shallow copy in fact cache plugin
This deep copy would cause ansible-playbook to get hung up and fail to
spawn new subprocesses thus forcing extremely large scan jobs to
serialize their connections through one process.    This had the effect
of forcing `forks=1` behavior.

This change was for citco, a customer who is running scan jobs against
600 hosts with a forks value of 200.
2016-05-02 13:34:47 -04:00
AlanCoding
cd0b9655db make sysv and initctl non-exclusive 2016-05-02 12:29:03 -04:00
Jared Tabor
55c230f428 Merge pull request #1751 from jaredevantabor/resolvers
Removing the FeatureService from state resolve files
2016-05-02 09:08:01 -07:00
Akita Noek
5825737447 Reduce JT read access check to simple read_role check 2016-05-02 11:27:37 -04:00
Akita Noek
83e83a5db3 Actually do job template migrations
Seems important
2016-05-02 11:16:15 -04:00
Akita Noek
58e9c4ef87 Fixed JT migration issue
Role.__contains__ is not defined here, so we needed to drop in the
implementation instead.
2016-05-02 11:14:31 -04:00
Akita Noek
8a5e22cb4a Fix old_access user/team reference 2016-05-02 10:14:29 -04:00
Wayne Witzel III
573bc07c5d Merge pull request #1738 from wwitzel3/issue-1714
prevent a user from removing their own admin_role
2016-05-02 10:09:41 -04:00
Wayne Witzel III
18e42d442e Merge pull request #1734 from wwitzel3/team-roles-access
ensure change access for adding team roles
2016-05-02 10:09:08 -04:00
Wayne Witzel III
86ea6b115f Merge pull request #1739 from wwitzel3/issue-1531
fixing non-unique query combining
2016-05-02 10:08:18 -04:00
kensible
788f185632 Merge pull request #1746 from kensible/1644-editNewResources
Redirect to edit and listing after job template creation, fixed creation error
2016-05-02 08:42:54 -04:00
Jared Tabor
459fb492f3 Removing the FeatureService from state resolve files
Instead, the FeatureService can be added into hte resolve in the StateExender provider
2016-04-29 16:10:03 -07:00
Akita Noek
29b55fa04d Moved access control from credential add view to access.py
as it should have always been. This messes up being able to post to
api/v1/users/:n/credentials and api/v1/teams/:n/credentials without
specifyign the user/team id in the post body, but looking at the old
code it looks like this might have always been the case, so whatevs..

This fixes a old v new access.py test "failure", and is better anyways..
2016-04-29 17:27:14 -04:00
Akita Noek
1bf4fdbff1 Fixed up the _old_access.py UserAccess queryset 2016-04-29 16:57:51 -04:00
Akita Noek
45a3ccaa50 Merge pull request #1743 from anoek/migration-fixes
RBAC Migration fixes
2016-04-29 16:08:03 -04:00
Chris Meyers
b18dd8fe21 fixes hanging chads, if chads were ansible 2016-04-29 15:55:32 -04:00
Akita Noek
6427526686 Updated JT migration tests to be more correct
This test was passing before because we were erroneously making all
users organization auditors, which gave users read access to all JT's
under the org.
2016-04-29 15:34:54 -04:00
Leigh
f2f6230818 Merge pull request #1741 from leigh-johnson/InventoryManageHosts
Refactor Inventory > Manage > Hosts > Add/Edit, update Hosts list on Group selection
2016-04-29 15:34:26 -04:00
Ken Hoes
2897ca8e23 Redirect to edit and listing after creation, fixed creation bug 2016-04-29 13:49:15 -04:00
Alan Rominger
293db554c5 Merge pull request #1662 from AlanCoding/1407_credential_post_fields_rebased
Allow credentials to be created in UI touch up documentation for owners
2016-04-29 12:33:59 -04:00
Jared Tabor
b27e84e805 Merge pull request #1703 from jaredevantabor/inv_sync_schedules
Adding scheduler for inventory syncs
2016-04-29 09:25:24 -07:00
John Mitchell
eb0c8f389b fix saving of new jts error 2016-04-29 10:11:00 -04:00
John Mitchell
06f157b2c9 fix ternary that was hiding the search and action buttons for related lists 2016-04-29 09:59:28 -04:00
Leigh Johnson
26a8d7826d reload Hosts list when a Group is selected, resolves #1708 2016-04-28 20:36:29 -04:00
Leigh Johnson
8c6745d383 refactor Inventories > Manage > Hosts to support headerFields, add enabled/disabled toggle, resolves #1725 #1599 2016-04-28 19:48:53 -04:00
Wayne Witzel III
47561978d2 fixing non-unique query combining 2016-04-28 16:11:12 -04:00