super-user requests to HostDetail go through rbac

This commit is contained in:
Chris Meyers
2017-01-27 10:38:36 -05:00
parent 6aaf6a3150
commit ef3a3b3b2f
2 changed files with 1 additions and 23 deletions

View File

@@ -1687,7 +1687,6 @@ class HostDetail(RetrieveUpdateDestroyAPIView):
always_allow_superuser = False
model = Host
serializer_class = HostSerializer
permission_classes = (HostPermission,)
class InventoryHostsList(SubListCreateAttachDetachAPIView):