AlanCoding
0fcc9abd69
allow org auditors to see notifications
2016-07-12 10:30:44 -04:00
AlanCoding
f68495cf58
allow org auditors to view notification templates
2016-07-12 09:18:04 -04:00
Akita Noek
7733167693
Updated tests to reflect new expected behavior
2016-07-08 16:29:14 -04:00
Akita Noek
33547259e2
Merge pull request #2840 from anoek/test-porting
...
Ported several old tests to our new test system
2016-07-08 09:25:35 -04:00
Akita Noek
521fa13662
More mock fixes for organizations.py tests
2016-07-07 14:41:11 -04:00
Akita Noek
856ad80c21
Mock feature_enabled for organization tests
2016-07-07 13:53:21 -04:00
Akita Noek
55730f8730
Ported old/organizations.py tests
2016-07-07 11:58:38 -04:00
Akita Noek
51b959406a
Merge pull request #2819 from anoek/2744
...
Make it so users can see all roles on things they can see.
2016-07-06 16:16:42 -04:00
Alan Rominger
9476bc12e9
Merge pull request #2787 from AlanCoding/2733_credential_org_access
...
Processing of "organization" related field in credential can_change
2016-07-06 15:43:17 -04:00
AlanCoding
5df846eb0a
remove unnecessary fixture from org_credential
2016-07-06 15:21:57 -04:00
Alan Rominger
70b9a48f82
Merge pull request #2739 from AlanCoding/2735_proj_access
...
Do not allow creating projects as foreign org admin
2016-07-06 15:09:43 -04:00
Akita Noek
015085fe15
Added role visibility tests
2016-07-06 13:38:52 -04:00
AlanCoding
ddbe54f841
allow null data cases in credential can_change
2016-07-05 15:06:40 -04:00
AlanCoding
c21d560cfd
Credential can_change updates for organization related field
2016-07-05 14:04:52 -04:00
AlanCoding
c7bedcb004
Do not allow creating proejcts as foreign org admin
2016-07-01 09:51:26 -04:00
Akita Noek
b21c7e1d15
Fix inventory update permission so update_role is enough to update
2016-06-30 14:58:44 -04:00
Akita Noek
fa58ca44b1
Ported old/unified_jobs.py
2016-06-30 12:16:57 -04:00
Akita Noek
e2c9d26e0d
Ported old/views.py
2016-06-30 12:16:57 -04:00
Akita Noek
9742d02ee8
Eliminated redundant http request code in test suite
2016-06-30 12:16:57 -04:00
Akita Noek
66f86de3fa
Ported old test_licences.py tests
2016-06-30 12:16:57 -04:00
Chris Meyers
8825bc7075
Merge pull request #2681 from chrismeyersfsu/enhancement-log_fact_migration
...
add logging to system tracking migration
2016-06-28 17:12:24 -04:00
Chris Meyers
0cb00c1554
add logging to system tracking migration
2016-06-28 16:02:33 -04:00
Alan Rominger
513e6c993f
Merge pull request #2647 from AlanCoding/jt_can_add_betterment
...
A route around get_object_or_400 in JT can_add calcs
2016-06-28 14:31:44 -04:00
Wayne Witzel III
4f534122c5
Merge pull request #2675 from wwitzel3/issue-2244
...
Do not show the read_role child for Teams
2016-06-28 11:43:05 -04:00
Wayne Witzel III
994065d495
removing test (already had coverage), fixing test
2016-06-28 11:19:18 -04:00
Akita Noek
5043ff45c2
Removed active_roles
...
The UI isn't using this feature at the moment so we're going to remove
it for 3.0, and probably bring it back in 3.1, potentially in different
ways depending on UI needs then.
2016-06-28 11:02:28 -04:00
Wayne Witzel III
4d3d38c4ac
ensure read_role is not being returned
2016-06-28 10:56:36 -04:00
AlanCoding
7b0f20e90d
job template serializer can_add calc to avoid lookups of known related objects
2016-06-28 10:18:30 -04:00
Matthew Jones
80b044580d
Fix up flake8 for notification tests
2016-06-27 15:12:10 -04:00
Matthew Jones
78e10241da
Disallow DELETE on a notification_template
...
When there are pending notifications
2016-06-27 11:36:29 -04:00
Wayne Witzel III
f0418d8841
Merge pull request #2634 from wwitzel3/issue-2560
...
Disallow non-admin of a user to add a user to Roles
2016-06-27 11:28:38 -04:00
Akita Noek
2b323fc24e
Better handle notification template patches for notification_type
...
This makes it so patches don't require the notification_type to be present
2016-06-27 09:40:39 -04:00
Wayne Witzel III
87ffded774
renaming Credential.owner_role -> Credential.admin_role
2016-06-24 16:55:07 -04:00
Akita Noek
9494db583d
Better handle missing notification_type in patches to notification template
...
Addresses #2628
2016-06-24 16:50:27 -04:00
Akita Noek
291c8126d7
Fixed inventory edit editablity from update_role users
...
Now you'll need the expected admin_role access to do things like edit
inventory, groups, and hosts.
Resolves #2561
2016-06-24 11:03:54 -04:00
Akita Noek
feaaac94a2
Merge pull request #2603 from anoek/2579
...
Removed roles per inventory group
2016-06-24 09:23:06 -04:00
Akita Noek
ee8215dc52
Removed InventoryGroup roles
2016-06-23 11:01:22 -04:00
AlanCoding
2bebb76881
restrict editing of orphan notification templates to superusers
2016-06-23 09:51:58 -04:00
Alan Rominger
fc8a2edcb3
Merge pull request #2583 from AlanCoding/2530_job_cancel_access
...
Allow job self-canceling and update other cancel logic
2016-06-22 16:52:38 -04:00
Alan Rominger
e67cc8ba38
Merge pull request #2562 from AlanCoding/2527_inv_update_access
...
Add can_delete to InventoryUpdateAccess
2016-06-22 16:47:29 -04:00
AlanCoding
36513e96a2
add can_delete to inventory update access
2016-06-22 16:11:10 -04:00
AlanCoding
1f88d8b810
implement can_cancel for most unified job types
2016-06-22 14:57:30 -04:00
Matthew Jones
0fda36116a
Change org admin role access for inventory scripts
...
Previously a super user was required to create and administer custom
inventory scripts. Since these are tied to organizations this commit
extends orgadmin admininstration abilities to custom scripts within
their organization
2016-06-22 13:58:14 -04:00
Wayne Witzel III
06c74ced76
Merge pull request #2538 from wwitzel3/issue-2349
...
Credential bug fixes for access and uniqueness
2016-06-21 16:40:14 -04:00
Wayne Witzel III
52b16620cd
added multi-team same credential name test
2016-06-21 16:30:06 -04:00
Alan Rominger
38aaf2d72b
Merge pull request #2490 from AlanCoding/2413_allow_orphan_jobs
...
Allow launching an orphaned job
2016-06-21 16:24:31 -04:00
Wayne Witzel III
dab3440275
assert org.auditor can read org credentials
2016-06-21 16:07:47 -04:00
Wayne Witzel III
51150ce7fc
renaming test so pytest collector stops getting confused
2016-06-21 14:17:16 -04:00
Wayne Witzel III
bc457ccef6
assert Credential unique_togehter works
2016-06-21 11:36:31 -04:00
Chris Church
c2285f1a4c
Split up the credential xfail tests.
2016-06-17 11:42:20 -04:00