forked from django-guardian/django-guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
135 lines (84 loc) · 3.2 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Release 1.0.3 (Jul 25, 2011)
==================================
* added ``get_objects_for_group`` shortcut (thanks to Rafael Ponieman)
* added ``user_can_access_owned_objects_only`` flag to ``GuardedModelAdmin``
* updated and fixed issues with example app (thanks to Bojan Mihelac)
* minor typo fixed at documentation
* included ADC theme for documentation
Release 1.0.2 (Apr 12, 2011)
==================================
* ``get_users_with_perms`` now accepts ``with_group_users`` flag
* Fixed ``group_id`` issue at admin templates
* Small fix for documentation building process
* It's 2011 (updated dates within this file)
Release 1.0.1 (Mar 25, 2011)
==================================
* ``get_users_with_perms`` now accepts ``with_superusers`` flag
* Small fix for documentation building process
Release 1.0.0 (Jan 27, 2011)
==================================
* A final v1.0 release!
Release 1.0.0.beta2 (Jan 14, 2011)
==================================
* Added ``get_objects_for_user`` shortcut function
* Added few tests
* Fixed issues related with ``django.contrib.auth`` tests
* Removed example project from source distribution
Release 1.0.0.beta1 (Jan 11, 2011)
==================================
* Simplified example project
* Fixed issues related with test suite
* Added ability to clear orphaned object permissions
* Added ``clean_orphan_obj_perms`` management command
* Documentation cleanup
* Added grappelli_ admin templates
Release 1.0.0.alpha2 (Dec 2, 2010)
==================================
* Added possibility to operate with global permissions for assign and
``remove_perm`` shortcut functions
* Added possibility to generate PDF documentation
* Fixed some tests
Release 1.0.0.alpha1 (Nov 23, 2010)
===================================
* Fixed admin templates not included in ``MANIFEST.in``
* Fixed admin integration codes
Release 1.0.0.pre (Nov 23, 2010)
================================
* Added admin integration
* Added reusable forms for object permissions management
Release 0.2.3 (Nov 17, 2010)
============================
* Added ``guardian.shortcuts.get_users_with_perms`` function
* Added ``AUTHORS`` file
Release 0.2.2 (Oct 19, 2010)
============================
* Fixed migrations order (thanks to Daniel Rech)
Release 0.2.1 (Oct 3, 2010)
===========================
* Fixed migration (it wasn't actually updating object_pk field)
Release 0.2.0 (Oct 3, 2010)
===========================
Fixes
~~~~~
* #4: guardian now supports models with not-integer primary keys and
they don't need to be called "id".
.. important::
For 0.1.X users: it is required to *migrate* guardian in your projects.
Add ``south`` to ``INSTALLED_APPS`` and run::
python manage.py syncdb
python manage.py migrate guardian 0001 --fake
python manage.py migrate guardian
Improvements
~~~~~~~~~~~~
* Added South_ migrations support
Release 0.1.1 (Sep 27, 2010)
============================
Improvements
~~~~~~~~~~~~
* Added view decorators: ``permission_required`` and
``permission_required_403``
Release 0.1.0 (Jun 6, 2010)
===========================
* Initial public release
.. _south: http://south.aeracode.org/
.. _grappelli: https://github.com/sehmaschine/django-grappelli