Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 11, 2009
  1. @ubernostrum
Commits on Jun 17, 2007
  1. per-object-permissions: Merged to trunk [5486] NOTE: Not fully tested…

    Christopher Long authored
    …, will be working on this over the next few weeks.
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@5488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Dec 27, 2006
  1. @adrianholovaty
Commits on Nov 25, 2006
  1. @adrianholovaty
  2. @adrianholovaty
Commits on Nov 24, 2006
  1. @adrianholovaty
  2. @adrianholovaty
Commits on Oct 27, 2006
  1. [per-object-permissions] Merged to trunk [3938]

    Christopher Long authored
Commits on Oct 4, 2006
  1. [per-object-permissions] Fixed a bug where the RLP for an inline obje…

    Christopher Long authored
    …ct would only be set when changing an object not adding
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Oct 3, 2006
  1. [per-object-permissions] Sets the row level permisisons on objects cr…

    Christopher Long authored
    …eated inline if the inline objects have row level permissions enabled. This has not been tested indepth, and might not work 100%
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  2. [per-object-permissions] First version where inline objects are check…

    Christopher Long authored
    …ed for row level permissions
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 25, 2006
  1. [per-object-permissions] Latest revision showed "Edit Row Level Permi…

    Christopher Long authored
    …ssions" for all objects in admin interface (not just those for which it is enabled), this revision fixes this bug
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 23, 2006
  1. [per-object-permissions] Merged to trunk [3809]

    Christopher Long authored
  2. [per-object-permissions] Fixes the bug described by schotm where grou…

    Christopher Long authored
    …p permissions were causing a db error when show_all_rows was set to false
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 18, 2006
  1. [per-object-permissions] Fixes another problem when using one-to-one …

    Christopher Long authored
    …relations and POPs
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 17, 2006
  1. [per-object-permissions] Fixes bug described in ticket #2749

    Christopher Long authored
    [per-object-permissions] Fixes the add manipulator so it does not assume the pk attribute is "id"
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 15, 2006
  1. [per-object-permissions] Fixes the delete permission which assumed th…

    Christopher Long authored
    …e object had an id attribute
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 12, 2006
  1. [per-object-permissions] Fixes MySQL error caused by when a user is n…

    Christopher Long authored
    …ot a member of a group
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  2. [per-object-permissions] Fixes problem with one-to-one relationships …

    Christopher Long authored
    …as the original code assumed every model had an id attribute, now uses "_get_pk_val()" to determine the model id.
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Sep 7, 2006
  1. [per-object-permissions] Merged to trunk [3731]

    Christopher Long authored
  2. [per-object-permissions] Fixes #2664 and #2663

    Christopher Long authored
Commits on Sep 4, 2006
  1. [per-object-permissions] Fixes #2652, modified the form field to incl…

    Christopher Long authored
    …ude the app label in the select field (the elements of which are now separated by a /)
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Aug 30, 2006
  1. [per-object-permissions] Fixed #2622 and added in contains_permission…

    Christopher Long authored
    … method to the anonymous user model
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Aug 29, 2006
  1. [per-object-permissions] Fixed missing parenthesis

    Christopher Long authored
Commits on Aug 28, 2006
  1. [per-object-permissions] New method: get_model_list in the RowLevelPe…

    Christopher Long authored
    …rmission 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
  2. [per-object-permissions] Merged to trunk 3666

    Christopher Long authored
Commits on Aug 25, 2006
  1. [per-object-permissions] Removed a debug print statement and changed …

    Christopher Long authored
    …an incorrect order of a format string
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Aug 24, 2006
  1. [per-object-permissions] Fixed a bug where delete row level permissio…

    Christopher Long authored
    …n was giving a PermissionDenied error falsely. (Missed adding the file to the commit)
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  2. [per-object-permissions] Fixed two bugs (noticed by Robert). 1) has_a…

    Christopher Long authored
    …dd_permission was not part of the new add user context and was causing an error when rendering the submit_row, changed view to have the has_add_permission 2) Custom SQL for checking if permissions exist was causing an error due to an incorrect False statment, corrected now.
    
    [per-object-permissions] Fixed a bug where delete row level permission was giving a PermissionDenied error falsely
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Commits on Aug 21, 2006
  1. [per-object-permissions] Fixed up some comments

    Christopher Long authored
Commits on Aug 20, 2006
  1. [per-object-permissions] Update to trunk

    Christopher Long authored
  2. [per-object-permissions] Fixed bug in contains_permission where it wa…

    Christopher Long authored
    …s just checking against any permission instead of the given permission
    
    [per-object-permissions] Made changes so delete and "Save and add another" only shows up if the user has permissions
    [per-object-permissions] Rewrote the has permission variables in the context for change form to use has_perms and check for model
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  3. [per-object-permissions] Removed debug print statement in auth/models.py

    Christopher Long authored
    [per-object-permissions] Added admin option: show_all_rows which by default is set to True. If False, it will only show the rows the user has permission for. Implemented the changes into change_list to allow this
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  4. [per-object-permissions] Updated admin pages to use contains_permissi…

    Christopher Long authored
    …on, this means the admin interface will now show the change list link to a user even if they only have change row level permissions on one of the objects. Right now, it does list all the objects and does not filter out those that the user does not have permissions on.
    
    git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Something went wrong with that request. Please try again.