Fixed permissions to delete own applications (if they have no number).
This commit is contained in:
parent
a23164a906
commit
15f872b6e2
@ -197,7 +197,7 @@ def edit(request, application_id=None):
|
|||||||
'application': application,
|
'application': application,
|
||||||
}
|
}
|
||||||
|
|
||||||
@permission_required('application.can_manage_application')
|
@login_required
|
||||||
@template('application/view.html')
|
@template('application/view.html')
|
||||||
def delete(request, application_id):
|
def delete(request, application_id):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user