Skip to content

Commit

Permalink
Update permission in analysis clone
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 committed Dec 13, 2024
1 parent 3d0809e commit 32567c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/analysis/mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,12 @@ class Arguments:
result = graphene.Field(AnalysisPillarType)


class AnalysisClone(PsGrapheneMutation):
class AnalysisClone(AnalysisMutationMixin, PsGrapheneMutation):
class Arguments:
data = AnalysisCloneInputType(required=True)
model = Analysis
serializer_class = AnalysisCloneGqlSerializer
result = graphene.Field(AnalysisType)
permissions = [PP.Permission.CREATE_ENTRY]


class Mutation():
Expand Down

0 comments on commit 32567c2

Please sign in to comment.