#34301: "show_save_as_new" in admin can add without this permission
-------------------------------------+-------------------------------------
Reporter: Equipe de TI da | Owner: Frédéric
Zara Falcão | Mheir
Type: Bug | Status: assigned
Component: contrib.admin | Version: 4.1
Severity: Normal | Resolution:
Keywords: save_as | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Frédéric Mheir):
Replying to [comment:10 Mariusz Felisiak]:
Hi Mariusz! Thanks a lot for your feedback. By making making a test that
ensures "show_save_as_new" tag is False when "has_add_permission" is False
(and other conditions True), would that be considered proper regression
test? The logic is that only it would pass only with the patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/34301#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018627f59062-8db331d4-f896-4f77-9363-44ab3b08613a-000000%40eu-central-1.amazonses.com.