Luke Plant
f0dbf0a264
Update docs to use lists instead of tuples ( #6797 )
2019-07-12 18:15:36 -07:00
Ryan P Kilby
82c2b5c3e7
Update mkdocs ( #6769 )
2019-06-30 19:04:36 -07:00
Florimond Manca
af2a2e6010
Update description and link to djangorestframework-api-key ( #6764 )
2019-06-28 15:40:31 -07:00
bonohubby
f76480a127
Fix typo in docs ( #6757 )
2019-06-25 10:08:46 +01:00
Robert Singer
80e89c75c7
Add DRF Access Policy to 3rd party packages ( #6723 )
2019-06-23 13:18:08 -07:00
Jabi
ac19c69539
Corrected typo in permissions docs. ( #6540 )
2019-03-28 11:45:13 +01:00
Adrien Brunet
2daf6f1341
Add negation ~ operator to permissions composition ( #6361 )
2019-02-25 15:33:40 +01:00
Carlton Gibson
6de33effd6
Doc’d requirement to implement has_object_permission() ( #6462 )
...
…when using provided permission classes.
Closes #6402 .
2019-02-19 16:18:55 +01:00
carlfarrington
3c5c61f33b
fix for a couple of missing words ( #6444 )
2019-02-06 09:35:04 +00:00
Marcin Popławski
4c2af75957
Updated links to djangorestframework-api-key project. ( #6414 )
2019-01-24 16:10:11 +01:00
Phil Ratcliffe
1a9548db4f
Fix missing import in example code
2018-12-28 16:10:08 +00:00
Adrien Brunet
c4a021185f
docs: typo in permissions (double space)
2018-12-18 13:03:03 +01:00
JerzySpendel
627eeb8202
Add missing comma in documentation of permission composition ( #6336 )
2018-12-07 16:44:57 -05:00
Xavier Ordoquy
b41a6cfa38
permissions: Allow permissions to be composed ( #5753 )
...
* permissions: Allow permissions to be composed
Implement a system to compose permissions with and / or.
This is performed by returning an `OperationHolder` instance that keeps the
permission classes and type of composition (and / or).
When called it will return a AND/OR instance that will then delegate the
permission check to the operands.
* permissions: Add documentation about composed permissions
* Fix documentation typo in permissions
2018-10-03 15:36:24 +01:00
Ryan P Kilby
66183389f6
Deprecate DjangoObjectPermissionsFilter ( #6075 )
2018-10-02 16:34:25 +02:00
Allisson Azevedo
d1c92c81ff
Add Django Rest Framework Role Filters to Third party packages ( #5809 )
2018-02-08 09:04:51 +01:00
Jon Dufresne
d5c34aa813
Remove unused links from docs ( #5735 )
...
Each removed link has no inline use.
2018-01-15 15:03:44 +01:00
Carlton Gibson
43c2c91dde
Add note on object permissions for FBVs ( #5681 )
...
Closes #3269
2017-12-19 12:05:59 +01:00
Jon Dufresne
f9c67f04d4
Clean up all whitespace throughout project ( #5578 )
...
* Remove trailing whitespace from lines
* Remove trailing nad leading whitespace from files
Allows for cleaner diffs in future changes. For editors that
automatically clean up whitespace on save, will avoid unrelated line
changes in diffs.
2017-11-09 20:57:53 +01:00
Sanjuro Jogdeo
0e341c24b4
Update get_object() example in permissions.md ( #5401 )
...
* Update get_object() example in permissions.md
I'm a bit confused about the example that's provided in the 'Object level permissions' section. Other examples (e.g. Tutorial 3 - Class Based Views) provided a pk to get_object(). It doesn't seem like this example has any way of identifying a specific object.
Just in case I'm correct, I've prepared this pull request. But if I'm wrong, would it be possible for you to explain the example I modified?
Many Thanks...
* Adjust patch
2017-09-08 18:51:16 +02:00
Emmanouil Konstantinidis
81195aabbf
Include a link to the django-rest-framework-api-key package
2017-01-18 14:36:43 +00:00
Artem Muterko
b352c8a24c
Fix some typos in documentation
2017-01-08 15:34:52 +02:00
Xavier Ordoquy
22578525ef
Documentation update ( #4717 )
2016-11-30 12:58:34 +00:00
Jeff Fein-Worton
a5c8a8c226
typo
2016-11-29 18:00:10 -08:00
Robert Jensen
59ca61abcd
Add django-rest-framework-roles to third party packages in permissions docs ( #4417 )
2016-08-19 11:44:31 +01:00
Wim Glenn
0a48d21e09
fix a b0rked code example in the permissions section of api guide
2016-08-12 14:33:35 -05:00
Kyle Hornberg
3698d9ea2e
Update permissions.md ( #4381 )
2016-08-10 17:23:10 +01:00
Kenneth Schnall
ff5cfe3e84
Replace "class based views" occurrences with "class-based views" ( #4251 )
2016-07-08 08:38:50 +01:00
Taylor Edmiston
c355cdc585
Fix typo in permissions docs
2016-05-03 14:20:45 -04:00
Ramon Moraes
a37a8748cc
Update permissions.md
...
Adding additional note about the behavior of set permission classes per view as suggest on #3834
2016-01-15 11:44:25 -03:00
Tom Christie
9a778793f8
Adding imports to docs
2015-08-06 09:56:09 +01:00
wwj718
c099d9aac4
import permission_classes
...
many people don't know how to import permission_classes
2015-08-06 11:08:56 +08:00
David Kaplan
b969e9a872
Update permissions.md
...
Add DRY Rest Permissions info to the permissions page
2015-07-30 10:47:12 -04:00
Tom Christie
8329411cc3
Merge pull request #2539 from donewell/permission-detail
...
add message to custom permission
2015-06-24 11:32:02 +01:00
Arnaud Limbourg
5550f1534c
removing section since package is not maintained
2015-05-28 15:52:37 +02:00
Arnaud Limbourg
2bfef08d3a
THe DRF Any Permission is not maintained anymore
2015-05-28 15:12:18 +02:00
Nicolas Delaby
031ac2a292
Allow DjangoObjectPermissions to use views that define get_queryset
2015-05-13 14:26:44 +02:00
donewell
9ea615af14
add message to custom permission
...
change detail to message and update text
2015-02-10 20:11:53 +00:00
Tom Christie
c8d88c8c8a
Merge branch 'master' into version-3.1
2014-12-18 11:21:25 +00:00
Tom Christie
c9a2ce0703
Expand permissions docs. Closes #2223 .
2014-12-17 16:19:02 +00:00
Tom Christie
b6ee784240
Merge master
2014-12-15 12:18:55 +00:00
Jason Spafford
56c09cc1f2
Doc typo
2014-12-15 02:41:39 -08:00
José Padilla
0cc990792c
Merge branch 'version-3.1' into oauth_as_package
...
Conflicts:
requirements-test.txt
rest_framework/compat.py
tests/settings.py
tox.ini
2014-11-28 12:14:40 -04:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Tom Christie
571440e143
Stronger calling out of 'DjangoObjectPermissionsFilter'. Closes #1934 .
2014-11-05 10:53:46 +00:00
Tom Christie
09f3eedb23
Add notes re view-level and instance-level permissions checks. Closes #1819 .
2014-11-03 15:23:16 +00:00
Jharrod LaFon
baa518cd89
Moved OAuth support out of DRF and into a separate package, per #1767
2014-09-05 15:30:01 -07:00
Tom Christie
4d8c63abc9
Deprecate .model in related routers/permissions
2014-08-20 17:15:46 +01:00
Kevin London
c0f002b09d
Updated Permissions doc link to Django docs
...
The previous link went to version 1 docs so it was a dead link.
2014-07-31 12:41:15 -07:00
Tom Christie
b519018125
Docs on object level permissions and filters. Closes #1683
2014-07-07 09:51:23 +01:00