- Login to admin with user that has add-only permission to certain model
- Create an instance of this model
- See that there is new logline within "Recent Actions" which contains
link to edit form and results in 403 Forbidden.
This is something similar to what has been spotted by Tim Graham during
https://github.com/django/django/pull/5244 review so perhaps it will be
handy to fix it after PR 5244 is merged so one can extend
{{{test_no_forbidden_links_visible}}} test with checks for this ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/25656>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => bak1an
* needs_better_patch: => 0
* status: new => assigned
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:1>
* stage: Unreviewed => Accepted
Comment:
A bit similar to #2856 in case discussion on that ticket helps.
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:2>
* owner: Anton Baklanov => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:3>
* owner: (none) => AP Jama
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
This is no longer a problem. I followed the replication steps, and with an
add-only permission, the user ONLY sees the
`+ Add` button on the list view, and `Save` and `Save and add another`
buttons in the create view.
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:5>
* status: closed => new
* resolution: fixed =>
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:6>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:7>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/25656#comment:8>