Skip to content

refactor permissions: replace DjangoModelPermissions with CustomDjang… - #8

Open
Janfrancisco wants to merge 1 commit into
pycodebr:masterfrom
Janfrancisco:view-permissions-on-restframework
Open

refactor permissions: replace DjangoModelPermissions with CustomDjang…#8
Janfrancisco wants to merge 1 commit into
pycodebr:masterfrom
Janfrancisco:view-permissions-on-restframework

Conversation

@Janfrancisco

Copy link
Copy Markdown

By default, DjangoModelPermissions allows access to "safe" methods (GET, HEAD, OPTIONS). A custom class was created to override the 'perms_map' property and include the permission in the GET method. for improved API access control

…oModelPermission for improved API access control
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant