Skip to content

Commit

Permalink
Merge pull request #4 from PrimarySite/develop
Browse files Browse the repository at this point in the history
Add DACrudBasePermission.
  • Loading branch information
cleder authored Sep 12, 2016
2 parents a2e681a + 9ecfd8c commit 3f80260
Show file tree
Hide file tree
Showing 18 changed files with 674 additions and 945 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: python
python:
- '3.4'
- '3.5'
- '2.7'
install:
- pip install -r tests/requirements.txt
Expand Down
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ In Django rest Framework the permission classes work as:
This implementation of permission classes takes a list of functions that
determine if the access is allowed. If **any** of the functions returns True,
the access is **allowed**, if **none** of the permission checks passes the access
will be **denied**. This enables to write small, reusable and chainable permissions
will be **denied**. This enables to write small, reusable and chainable permissions.
You have to be explicit which users have access.

.. image:: https://travis-ci.org/PrimarySite/drf-deny-allow-pc.svg?branch=master
:target: https://travis-ci.org/PrimarySite/drf-deny-allow-pc
Expand All @@ -22,3 +23,5 @@ will be **denied**. This enables to write small, reusable and chainable permissi
.. image:: https://readthedocs.org/projects/drfdapc/badge/?version=latest
:target: http://drfdapc.readthedocs.org/en/latest/?badge=latest
:alt: Documentation Status

To build the sphinx documentation execute `make html` in the docs directory.
17 changes: 17 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Customize the test machine
machine:
python:
version: 3.5.1

dependencies:

pre:
- pip install --upgrade pip
- pip install -r tests/requirements.txt

test:
override:
- coverage run runtests.py

post:
- codecov --token=d1a7380f-e48e-4280-80b5-9004a70e935b
84 changes: 0 additions & 84 deletions docs/_build/html/_modules/index.html

This file was deleted.

256 changes: 0 additions & 256 deletions docs/_build/html/_modules/permissions.html

This file was deleted.

153 changes: 0 additions & 153 deletions docs/_build/html/genindex.html

This file was deleted.

Loading

0 comments on commit 3f80260

Please sign in to comment.