Akita Noek
e55de3d073
Fixed team credential creation through API
2016-08-10 16:58:12 -04:00
Aaron Tan
bea36bd1dc
Add notifications link to ad_hoc command details.
2016-08-08 17:17:45 -04:00
AlanCoding
53d6d2734f
add conditional to show inventory script to org auditors
2016-08-08 17:13:26 -04:00
Aaron Tan
01588af5ac
Merge pull request #3219 from jangsutsr/typo_fix
...
Fix a minor typo in job events model and restructure a bit to fix 500 error.
2016-08-08 14:29:48 -04:00
Aaron Tan
a2093e3e13
Fix a minor typo in job events model and restructure a bit to fix 500 error.
2016-08-08 13:41:59 -04:00
Chris Church
3bb14e2f72
Clear cache between tests or when license is updated.
2016-08-08 11:59:55 -04:00
Chris Church
891e06d6ef
Add config for using Redis as cache, add memoize function to store results in cache.
2016-08-08 11:58:54 -04:00
AlanCoding
17ac2cee42
Put survey passwords in job field
2016-08-05 15:11:28 -04:00
Wayne Witzel III
f30292c7f1
Merge pull request #3192 from wwitzel3/test-refactoring
...
Update some tests and refactor some code.
2016-08-04 11:17:42 -04:00
Wayne Witzel III
c5b005fd35
refactor start_event_queryset into model
2016-08-03 15:37:40 -04:00
Chris Church
3850b96da2
Re-enable API settings URLs.
2016-08-03 14:56:09 -04:00
AlanCoding
2955af705e
fix error in job schema introduced in ask_skip_tags change
2016-08-03 11:37:11 -04:00
AlanCoding
bedcdadcfc
job launch read_only fields made more clear
2016-08-01 16:49:35 -04:00
AlanCoding
0271aa611c
add field to JT for asking to skip tags
2016-08-01 16:49:34 -04:00
Alan Rominger
16959ef17d
Merge pull request #3171 from AlanCoding/2567_AS_group_inv
...
Show inventory_id in activity stream for groups
2016-08-01 15:40:47 -04:00
Alan Rominger
1352fe822d
Merge pull request #3172 from AlanCoding/3118_role_read
...
Drop in visible_roles to RoleAccess can_read
2016-08-01 15:40:21 -04:00
Matthew Jones
3e1c0111f5
Merge branch 'api_release_3.0.1' into release_3.0.2
...
* api_release_3.0.1:
add code to HostAccess can_add so the browsable API will work
update unit tetsts
use get_object_or_400 to fetch Role
refactor to unit tests
restrict User.admin_role membership changes through RoleUsersList
fix test
do not allow membership changes to User.admin_role
RoleTeam and TeamRole sublist NotFound exception handling and test update
add system job templates to the unified JT list
Reorganize activity stream around org admin/auditors
Allow instant cancel for new jobs
orphan project protection in job delete access
pass context into Job and JobList serializer classes
pass context to unified job template subclasses
Allow auditors to see same /api/v1/config information as admins
2016-08-01 13:23:37 -04:00
Wayne Witzel III
9baa9594c7
use get_object_or_400 to fetch Role
2016-07-29 11:29:49 -04:00
Wayne Witzel III
b127e74ae4
refactor to unit tests
2016-07-29 11:29:43 -04:00
Wayne Witzel III
52865eea6a
restrict User.admin_role membership changes through RoleUsersList
2016-07-29 11:29:41 -04:00
Wayne Witzel III
06bb8871d7
do not allow membership changes to User.admin_role
2016-07-29 11:29:36 -04:00
Alan Rominger
a078254508
Merge pull request #3157 from AlanCoding/3129
...
Protect NotFound error in POST to TeamRoles
2016-07-28 20:20:00 -04:00
AlanCoding
1fb173b2e5
RoleTeam and TeamRole sublist NotFound exception handling and test update
2016-07-28 16:01:42 -04:00
AlanCoding
1d951a7eff
use same model method to determine read permission as we do in the views
2016-07-27 12:13:38 -04:00
AlanCoding
32a9c812e3
special case filter to show inventory id for group
2016-07-27 11:48:22 -04:00
AlanCoding
e27ce600c5
add system job templates to the unified JT list
2016-07-27 10:28:53 -04:00
Chris Meyers
4cf7344dc4
check license permission on host create
2016-07-21 16:53:25 -04:00
AlanCoding
29e35357e9
pass context into Job and JobList serializer classes
2016-07-20 10:02:59 -04:00
AlanCoding
f154633277
pass context to unified job template subclasses
2016-07-20 10:02:09 -04:00
Akita Noek
38f03ea32f
Allow auditors to see same /api/v1/config information as admins
2016-07-17 08:04:06 -04:00
Alan Rominger
94e39b0cee
Merge pull request #3015 from AlanCoding/org_read_role
...
Add read_role to organization select_related
2016-07-15 15:32:04 -04:00
Wayne Witzel III
03c3ac074c
Merge pull request #3022 from wwitzel3/issue-2979
...
Fix sysadmin and sysauditor viewing orphan inventory script.
2016-07-15 15:26:33 -04:00
Matthew Jones
eb97b8c916
Switch disallowed object delete to 409
...
In the case of running job conflicts
2016-07-15 11:47:02 -04:00
AlanCoding
df940f811c
add read_role to organization select_related
2016-07-14 16:11:29 -04:00
Akita Noek
6eb63285d2
Merge pull request #3010 from anoek/3006
...
Don't let normal users create orgless projects
2016-07-14 15:25:45 -04:00
Akita Noek
e18d142533
Don't let normal users create orgless projects
...
#3006
2016-07-14 14:29:34 -04:00
Matthew Jones
c852503163
Fix up some flake8 issues
2016-07-14 12:40:37 -04:00
Wayne Witzel III
ec2bf4476d
ensure system admin/auditor can see orphan inventory scripts
2016-07-14 11:16:16 -04:00
Bill Nottingham
6f2e1f711c
updated EULA text from rnalen
2016-07-14 10:23:01 -04:00
Matthew Jones
e9afee6149
Revert required org on notification templates
...
This reverts the validation of a required Organization on the
Notification Template. After discussion with jlaska and jladd, I think
this can behave fine in this situation. It's more like a Credential
then where without an Organization the NT only becomes available to
Super Users and the creator of the NT.
2016-07-13 11:10:18 -04:00
Matthew Jones
e9a0f41152
Fix an ommitted fields 500 error
...
If organization or notification_template is omitted entirely from the
POST for a new item then a 500 error would be raised
2016-07-13 10:45:49 -04:00
James Laska
99bd6ac38c
Fix typo in sub_list_create_api_view
...
Relates #2961
2016-07-13 09:00:49 -04:00
AlanCoding
646f848cfb
fix incorrect error message
2016-07-12 15:46:48 -04:00
Wayne Witzel III
f9707c0ca1
Merge pull request #2922 from wwitzel3/issue-2508
...
ensure CustomInventoryScripts render correctly in the ActivityStream
2016-07-12 08:28:43 -04:00
Alan Rominger
feb94139c4
Merge pull request #2924 from AlanCoding/leftover_related
...
Add missing roles to select_related
2016-07-11 17:06:03 -04:00
AlanCoding
1b613d919b
include all roles in the select_related
2016-07-11 16:51:29 -04:00
Wayne Witzel III
f7e9d07dad
ensure CustomInventoryScripts render correctly in the ActivityStream
2016-07-11 15:25:35 -04:00
Akita Noek
1aeca1bebb
Merge pull request #2919 from anoek/2918
...
Several system auditor fixes to allow SA's to read and see things
2016-07-11 15:23:36 -04:00
Akita Noek
6de5cceb8f
More is_system_auditor checks in views.py
2016-07-11 14:28:26 -04:00
Chris Meyers
120d2eda33
Merge pull request #2915 from chrismeyersfsu/fix-label-docs
...
fix label docs
2016-07-11 13:34:00 -04:00