diff options
| author | Christopher Long <indirecthit@gmail.com> | 2006-08-28 19:53:26 +0000 |
|---|---|---|
| committer | Christopher Long <indirecthit@gmail.com> | 2006-08-28 19:53:26 +0000 |
| commit | 64be2e2881fe39857fc70478198b86cc13b0ec24 (patch) | |
| tree | f14affd000ea7f54c36052224bd888d56efc8726 /docs | |
| parent | 61d6f592c9c6240537bf4f4c3844f563f7fb68e6 (diff) | |
[per-object-permissions] New method: get_model_list in the RowLevelPermission manager. This returns a list of ids for the given model that the user has the given permission on. It should work better then doing something like has_perm or {% if_has_perm %}
[per-object-permissions] Modified the change_list to use get_model_list instead of the current checking each perm. Note: this method has not been tested extensively, and might cause some problems
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
