0001-backoffice-skip-backoffice-submitters-check-if-there.patch
wcs/backoffice/management.py | ||
---|---|---|
2232 | 2232 | |
2233 | 2233 |
def _q_index(self): |
2234 | 2234 |
if self.filled.status == 'draft': |
2235 |
if self.filled.backoffice_submission: |
|
2235 |
if self.filled.backoffice_submission and self.formdef.backoffice_submission_roles:
|
|
2236 | 2236 |
for role in get_request().user.get_roles(): |
2237 | 2237 |
if role in self.formdef.backoffice_submission_roles: |
2238 | 2238 |
return redirect('../../../submission/%s/%s/' % ( |
2239 |
- |