use same model method to determine read permission as we do in the views

This commit is contained in:
AlanCoding
2016-07-27 12:13:38 -04:00
parent f5fa53d89a
commit 1d951a7eff
2 changed files with 2 additions and 9 deletions

View File

@@ -3625,7 +3625,6 @@ class RoleDetail(RetrieveAPIView):
model = Role
serializer_class = RoleSerializer
permission_classes = (IsAuthenticated,)
new_in_300 = True