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
e27ce600c5
add system job templates to the unified JT list
2016-07-27 10:28:53 -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
Chris Meyers
5a9af010bf
fix label docs
2016-07-11 13:32:53 -04:00
AlanCoding
3e433dc9f3
Remove old method of appending errors because it makes attrs None, causing server errors
2016-07-11 11:27:08 -04:00
Matthew Jones
6a1973c873
Disallow deleting job templates when there are jobs running
2016-07-07 12:03:41 -04:00
AlanCoding
25c177cdcd
M2M fix for project activity stream
2016-07-07 10:24:50 -04:00
Matthew Jones
3e0ed4c1a1
Fix up organization default exposed by unit test
2016-07-06 16:36:22 -04:00
Matthew Jones
f75eba471e
Fix flake8 'not in'
2016-07-06 16:09:38 -04:00
Matthew Jones
2528952090
Require organization when creating new notification templates
2016-07-05 15:31:54 -04:00
Wayne Witzel III
c00d32d0eb
Merge pull request #2714 from wwitzel3/issue-2706
...
ensure the singleton roles show up for sys auditor / sys admins
2016-07-01 11:11:58 -04:00
Wayne Witzel III
16bc0cdf0b
add helper decorator to ensure signleton roles see the proper role list
2016-07-01 10:38:02 -04:00
AlanCoding
07bea4c8b0
Revert "Merge pull request #2444 from AlanCoding/2364_access_list_restriction"
...
This reverts commit b71307bf91d1f1a9337071e04ecced012826584b, reversing
changes made to 1be12482954b680ba7a55746594a7e29df9b178d.
2016-07-01 10:10:00 -04:00
Chris Meyers
ecaf2b86b0
flake8 fix
2016-06-30 15:34:48 -04:00
Chris Meyers
84e02a5dd2
fix unit tests and make delete last unattach more generic
2016-06-30 14:13:19 -04:00
Wayne Witzel III
47893613a2
ensure the singleton roles show up for sys auditor / sys admins
2016-06-30 10:55:54 -04:00
Chris Meyers
a57dca9786
fix delete last label disassociate
...
* Inherit from mixin first in order to overwrite next inherited class
method, unattach.
* Also, fix up test and add test to ensure correct inheritance
2016-06-29 17:19:08 -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
Akita Noek
8ad505c9cc
Fixed notification template deleting
...
#2674
2016-06-28 12:27:13 -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
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
Akita Noek
5ed36624a3
Merge pull request #2664 from anoek/todo-cleanup
...
API todo/fixme addressing and cleanup
2016-06-28 11:01:41 -04:00
Wayne Witzel III
8e89edc27f
Do not show the read_role child for Teams
2016-06-28 10:56:08 -04:00
Akita Noek
9f43b6e60c
Use SubListAPIView for RoleTeamsList
2016-06-28 10:32: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