Skip to content

Commit

Permalink
set right permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Oct 10, 2023
1 parent 19d19c1 commit 8f68d8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lemarche/tenders/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,3 +611,12 @@ def steps_data_display(self, tender_steps_data: TenderStepsData = None):
return "-"

steps_data_display.short_description = "Données saisies dans les étapes"

def has_add_permission(self, request):
return False

def has_change_permission(self, request, obj=None):
return False

def has_delete_permission(self, request, obj=None):
return False

0 comments on commit 8f68d8e

Please sign in to comment.