Commit graph

12 commits

Author SHA1 Message Date
Élie Bouttier
50b7c5027c PermissionDenied -> ret HttpResponseFordbidden() 2014-08-14 00:56:07 -07:00
Élie Bouttier
702c9cda2c fix view module name using wraps in the decorator 2014-08-12 19:26:51 -07:00
Élie Bouttier
d9c3e214e0 need to be more general (can be issue.decorators)
use of app_label is probably better
2014-08-11 23:51:49 -07:00
Élie Bouttier
e59323c7c1 fix: middleware didn't throw forbidden exception 2014-08-11 23:50:30 -07:00
Élie Bouttier
e603464e6a can_user -> perm, that now check project perm too 2014-08-10 15:33:29 -07:00
Élie Bouttier
3a211b74a4 pep8 2014-08-09 01:13:42 -07:00
Élie Bouttier
6f4fad51ba fix: project duplicate when diff. way grant access 2014-08-08 19:28:16 -07:00
Élie Bouttier
d0f1908a6a staff users can access all projects 2014-08-07 19:54:56 -07:00
Élie Bouttier
f0087a8c06 project middleware now honors permissions 2014-08-07 19:47:08 -07:00
Élie Bouttier
98f181ca4f ProjectMiddleware query project and check permissions 2014-08-07 13:30:51 -07:00
Élie Bouttier
00b8ae612d project can be public (default) or private 2014-08-07 13:26:22 -07:00
Élie Bouttier
e870608072 add ProjectMiddleware adding projects to request 2014-08-07 12:54:45 -07:00