|
1 |
| -1.0.0: |
| 1 | +Unreleased: |
2 | 2 | added:
|
3 |
| - - grainy authentication backend |
4 |
| - - django admin integration |
5 |
| - - str_flags function |
6 |
| - - PermissioManager.add_permission |
7 |
| - - Default permissions for AnonymousUser |
8 |
| - - decorators.grainy_view |
9 |
| - - decorators.grainy_rest_viewset |
10 |
| - - helpers.dict_get_namespace |
11 |
| - - helpers.request_method_to_flag |
12 |
| - - helpers.request_to_flag |
13 |
| - - util.Permissions.grant_all property |
14 |
| - - conf.REQUEST_METHOD_TO_FLAG |
15 |
| - changed: |
16 |
| - - renamed `convert_flags` to `int_flags` |
17 |
| - - moved `str_flags` and `int_flags` functions from util.py to helpers.py |
18 |
| - - moved `namespace` function from util.py to models.py |
19 |
| - - removed `clear` argument from `PermissionManager.add_permission_set` |
| 3 | + - python3.11 support |
| 4 | + - python3.10 support |
| 5 | + - django4 support |
| 6 | + - django4.2 support |
| 7 | + - django3.2 support |
| 8 | + removed: |
| 9 | + - python3.6 support |
| 10 | + - python3.7 support |
| 11 | + - django2.2 support |
| 12 | + - django3.0 support |
| 13 | + - django3.1 support |
| 14 | +1.9.1: |
20 | 15 | fixed:
|
21 |
| - - util.Permissions now accepts AnonynmousUser as object |
22 |
| -1.1.0: |
23 |
| - added: |
24 |
| - - Passing a `tuple` or `list` to `helpers.namespace` will now return a joint namespace |
25 |
| - of all contained elements |
26 |
| - - Implemented `util.Permissions.instances` method to retrieve all instances of a |
27 |
| - model according to permissions |
28 |
| - - '`decorators.grainy_view` decorator can now use url parameters to format it s |
29 |
| - namespace' |
30 |
| -1.2.0: |
| 16 | + - bug where group permissions overwrote direct permissions |
| 17 | +1.9.0: |
31 | 18 | added:
|
32 |
| - - 'Permissions.instances(): add `explicit` keyword argument' |
33 |
| - - 'Permissions.instances(): add `ignore_grant_all` keyword argument' |
34 |
| - - 'Permissions.check(): add `ignore_grant_all` keyword argument' |
35 |
| -1.2.1: |
| 19 | + - python3.9 support |
| 20 | + - django3.1 support |
| 21 | + - added rest.ModelViewSetPermission django-rest-framework permission class |
| 22 | + - added grainy_namespace property to decorated models |
| 23 | + - added util.check_permissions helper function |
| 24 | + - added util.get_permissions helper function |
| 25 | + - added GRAINY_ANONYMOUS_GROUP setting |
36 | 26 | fixed:
|
37 |
| - - Template files not being installed |
38 |
| -1.3.0: |
| 27 | + - fix django-admin user and group admin view unregister |
| 28 | + - fix instance namespacing on decorated models that have a grainy parent defined |
| 29 | + changed: |
| 30 | + - grainy handler classes moved to handlers.py to prevent circular depdendency issue |
| 31 | +1.8.0: |
39 | 32 | added:
|
40 |
| - - 'grainy_model: allow specifying of custom instance namespace formatting' |
41 |
| - - 'grainy_view: impl explicit namespace handling during request gating' |
42 |
| -1.4.0: |
| 33 | + - remote grainy permissions |
| 34 | + - field level permission checks when POST/PUT/PATCHing to REST api (#14) |
| 35 | + - python3.8 support |
| 36 | + changed: |
| 37 | + - 'fix #36: Grainy decorators should allow setting of Permissions class to use for |
| 38 | + permission checks' |
| 39 | + removed: |
| 40 | + - python2.7 support |
| 41 | + - python3.4 support |
| 42 | + - python3.5 support |
| 43 | + - django1.11 support |
| 44 | +1.7.0: |
43 | 45 | added:
|
44 |
| - - implemented `decorators.grainy_view_response` |
45 |
| - - implemented `decorators.grainy_json_view_response` |
46 |
| - - implemented `decorators.grainy_rest_viewset_response` |
| 46 | + - tests for django 2.1 |
| 47 | + - 'fix #33: easy namespace inheritance through related models' |
| 48 | + - 'fix #31: add delete_permission function to grainy manager' |
| 49 | + - 'fix #35: Custom permission holder implementation' |
| 50 | + fixed: |
| 51 | + - 'admin inlines: sort by namespace alphabetically (#24)' |
47 | 52 | changed:
|
48 |
| - - '`decorators.grainy_view` now simply decorates all response handlers' |
49 |
| - - '`decorators.grainy_json_view` now simply decorates all response handlers' |
50 |
| - - '`decorators.grainy_rest_viewset` now simply decorates all response handlers' |
| 53 | + - move from facsimile to Ctl (#32) |
| 54 | +1.6.2: |
| 55 | + fixed: |
| 56 | + - when applying perms to a grainy view response, make sure to return the proper |
| 57 | + container when it is empty |
| 58 | +1.6.1: |
| 59 | + fixed: |
| 60 | + - Fixed issue with namespace formatting for grainy views that was introduced in |
| 61 | + 1.6.0 where trying to format using url parameters would raise a KeyError |
| 62 | +1.6.0: |
| 63 | + added: |
| 64 | + - grainy view decorators can now access the request object when formatting namespaces |
| 65 | + - you can now use extra keyword arguments passed to `Grainy.namespace` and `helpers.namespace` |
| 66 | + to further format the namespace string |
| 67 | + changed: |
| 68 | + - 'grainy view decorators: renamed `explicit_object` to `explicit_instance`' |
51 | 69 | 1.5.0:
|
52 | 70 | added:
|
53 | 71 | - '`util.Permissions.get` now accepts the `explicit` keyword argument'
|
54 | 72 | - '`decorators.grainy_view` now accepts the `explicit_object` keyword argument'
|
| 73 | + fixed: |
| 74 | + - '`util.Permissions.get` now works correctly' |
55 | 75 | changed:
|
56 | 76 | - '`decorators.grainy_view` request GET parameters now available for namespace formatting'
|
57 | 77 | - '`decorators.grainy_view` get_object() now available as `instance` for base namespace
|
58 | 78 | formatting if it exists'
|
59 | 79 | - '`decorators.grainy_decorator` decorator namespaces can now be passed as lists
|
60 | 80 | in which case the resulting namespace is a joint namespace of all the elements'
|
61 |
| - fixed: |
62 |
| - - '`util.Permissions.get` now works correctly' |
63 |
| -1.6.0: |
| 81 | +1.4.0: |
64 | 82 | added:
|
65 |
| - - grainy view decorators can now access the request object when formatting namespaces |
66 |
| - - you can now use extra keyword arguments passed to `Grainy.namespace` and `helpers.namespace` |
67 |
| - to further format the namespace string |
| 83 | + - implemented `decorators.grainy_view_response` |
| 84 | + - implemented `decorators.grainy_json_view_response` |
| 85 | + - implemented `decorators.grainy_rest_viewset_response` |
68 | 86 | changed:
|
69 |
| - - 'grainy view decorators: renamed `explicit_object` to `explicit_instance`' |
70 |
| -1.6.1: |
71 |
| - fixed: |
72 |
| - - Fixed issue with namespace formatting for grainy views that was introduced in |
73 |
| - 1.6.0 where trying to format using url parameters would raise a KeyError |
74 |
| -1.6.2: |
75 |
| - fixed: |
76 |
| - - when applying perms to a grainy view response, make sure to return the proper |
77 |
| - container when it is empty |
78 |
| -1.7.0: |
| 87 | + - '`decorators.grainy_view` now simply decorates all response handlers' |
| 88 | + - '`decorators.grainy_json_view` now simply decorates all response handlers' |
| 89 | + - '`decorators.grainy_rest_viewset` now simply decorates all response handlers' |
| 90 | +1.3.0: |
79 | 91 | added:
|
80 |
| - - tests for django 2.1 |
81 |
| - - 'fix #33: easy namespace inheritance through related models' |
82 |
| - - 'fix #31: add delete_permission function to grainy manager' |
83 |
| - - 'fix #35: Custom permission holder implementation' |
84 |
| - changed: |
85 |
| - - move from facsimile to Ctl (#32) |
| 92 | + - 'grainy_model: allow specifying of custom instance namespace formatting' |
| 93 | + - 'grainy_view: impl explicit namespace handling during request gating' |
| 94 | +1.2.1: |
86 | 95 | fixed:
|
87 |
| - - 'admin inlines: sort by namespace alphabetically (#24)' |
88 |
| -1.8.0: |
| 96 | + - Template files not being installed |
| 97 | +1.2.0: |
89 | 98 | added:
|
90 |
| - - remote grainy permissions |
91 |
| - - field level permission checks when POST/PUT/PATCHing to REST api (#14) |
92 |
| - - python3.8 support |
93 |
| - changed: |
94 |
| - - 'fix #36: Grainy decorators should allow setting of Permissions class to use for |
95 |
| - permission checks' |
96 |
| - removed: |
97 |
| - - python2.7 support |
98 |
| - - python3.4 support |
99 |
| - - python3.5 support |
100 |
| - - django1.11 support |
101 |
| -1.9.0: |
| 99 | + - 'Permissions.instances(): add `explicit` keyword argument' |
| 100 | + - 'Permissions.instances(): add `ignore_grant_all` keyword argument' |
| 101 | + - 'Permissions.check(): add `ignore_grant_all` keyword argument' |
| 102 | +1.1.0: |
102 | 103 | added:
|
103 |
| - - python3.9 support |
104 |
| - - django3.1 support |
105 |
| - - added rest.ModelViewSetPermission django-rest-framework permission class |
106 |
| - - added grainy_namespace property to decorated models |
107 |
| - - added util.check_permissions helper function |
108 |
| - - added util.get_permissions helper function |
109 |
| - - added GRAINY_ANONYMOUS_GROUP setting |
110 |
| - changed: |
111 |
| - - grainy handler classes moved to handlers.py to prevent circular depdendency issue |
112 |
| - fixed: |
113 |
| - - fix django-admin user and group admin view unregister |
114 |
| - - fix instance namespacing on decorated models that have a grainy parent defined |
115 |
| -1.9.1: |
116 |
| - fixed: |
117 |
| - - bug where group permissions overwrote direct permissions |
118 |
| -Unreleased: |
| 104 | + - Passing a `tuple` or `list` to `helpers.namespace` will now return a joint namespace |
| 105 | + of all contained elements |
| 106 | + - Implemented `util.Permissions.instances` method to retrieve all instances of a |
| 107 | + model according to permissions |
| 108 | + - '`decorators.grainy_view` decorator can now use url parameters to format it s |
| 109 | + namespace' |
| 110 | +1.0.0: |
119 | 111 | added:
|
120 |
| - - python3.10 support |
121 |
| - - django4 support |
122 |
| - - django3.2 support |
123 |
| - changed: [] |
124 |
| - deprecated: [] |
125 |
| - fixed: [] |
126 |
| - removed: |
127 |
| - - python3.6 support |
128 |
| - - django2.2 support |
129 |
| - - django3.0 support |
130 |
| - - django3.1 support |
131 |
| - security: [] |
| 112 | + - grainy authentication backend |
| 113 | + - django admin integration |
| 114 | + - str_flags function |
| 115 | + - PermissioManager.add_permission |
| 116 | + - Default permissions for AnonymousUser |
| 117 | + - decorators.grainy_view |
| 118 | + - decorators.grainy_rest_viewset |
| 119 | + - helpers.dict_get_namespace |
| 120 | + - helpers.request_method_to_flag |
| 121 | + - helpers.request_to_flag |
| 122 | + - util.Permissions.grant_all property |
| 123 | + - conf.REQUEST_METHOD_TO_FLAG |
| 124 | + fixed: |
| 125 | + - util.Permissions now accepts AnonynmousUser as object |
| 126 | + changed: |
| 127 | + - renamed `convert_flags` to `int_flags` |
| 128 | + - moved `str_flags` and `int_flags` functions from util.py to helpers.py |
| 129 | + - moved `namespace` function from util.py to models.py |
| 130 | + - removed `clear` argument from `PermissionManager.add_permission_set` |
0 commit comments