reconsidering the view permission

3 views
Skip to first unread message

Travis Cline

unread,
Jun 24, 2008, 6:45:38 PM6/24/08
to Django developers
I recently uploaded a patch rebased to nfa head for adding a view
permission.

http://code.djangoproject.com/attachment/ticket/7150
http://code.djangoproject.com/attachment/ticket/7150/newforms-admin-view-permission-r7737.patch

While I understand admin isn't intended to be a data browsing tool I
think a view permission is a logical corollary to the other perms.
It's a pretty trivial change that fixes up a few ui issues. Is it
really outside the scope of admin?

My usecase is:
allow a user to relate model A to model B without requiring change
permission on model B (using raw_id).

Though its use might not be as great, Honza posted somewhat recently
about the issue of delete permission implying change permission (as
you can't get at the delete button on the object detail page without
change perms).

I tried to bribe Jacob with beer but to no avail. =)

Thoughts?

--
Travis
Reply all
Reply to author
Forward
0 new messages