Skip to content
Snippets Groups Projects
Commit c75ffdde authored by Dan Braghis's avatar Dan Braghis
Browse files

Re-add permission check method

parent ee2d1a2b
No related branches found
No related tags found
No related merge requests found
...@@ -767,6 +767,9 @@ class ApplicationSubmission(WorkflowHelpers, BaseStreamForm, AbstractFormSubmiss ...@@ -767,6 +767,9 @@ class ApplicationSubmission(WorkflowHelpers, BaseStreamForm, AbstractFormSubmiss
return self.has_permission_to_review(user) return self.has_permission_to_review(user)
def has_permission_to_add_determination(self, user):
return user.is_superuser or self.lead.id == user.id
def data_and_fields(self): def data_and_fields(self):
for stream_value in self.form_fields: for stream_value in self.form_fields:
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment