Élie Bouttier
|
38dcbe7874
|
tests: split in class + profile tests
|
2014-08-12 23:45:52 -07:00 |
|
Élie Bouttier
|
16ae085399
|
tests: test delete issue view
|
2014-08-12 23:24:11 -07:00 |
|
Élie Bouttier
|
930f02cdb6
|
tests: more tests about issues views
|
2014-08-12 23:18:00 -07:00 |
|
Élie Bouttier
|
66e0997e9b
|
fix: has_perm need project object
|
2014-08-12 23:14:25 -07:00 |
|
Élie Bouttier
|
cfa815b8c9
|
fix: user -> request.user
|
2014-08-12 19:39:14 -07:00 |
|
Élie Bouttier
|
d436a8194a
|
update project permission template (cf a7a257c199f86763c8942f0385a9195cd51dc84e)
|
2014-08-12 19:38:55 -07:00 |
|
Élie Bouttier
|
7ecf8a8b15
|
remove not used class
|
2014-08-12 19:34:05 -07:00 |
|
Élie Bouttier
|
d5f7a65819
|
middleware expect project as kwarg so decorator can do the same
|
2014-08-12 19:30:50 -07:00 |
|
Élie Bouttier
|
702c9cda2c
|
fix view module name using wraps in the decorator
|
2014-08-12 19:26:51 -07:00 |
|
Élie Bouttier
|
8996d4b323
|
pep8
|
2014-08-12 19:19:45 -07:00 |
|
Élie Bouttier
|
a06a248e68
|
check perms in views & some tests (not enought)
|
2014-08-11 23:56:06 -07:00 |
|
Élie Bouttier
|
53e954ca9c
|
perm checked using a decorator instead of shortcut
|
2014-08-11 23:55:12 -07:00 |
|
Élie Bouttier
|
28a4915909
|
add manage_issue permission to open/close issue
|
2014-08-11 23:54:23 -07:00 |
|
Élie Bouttier
|
95893c04d9
|
permission.granted_to now handle anonymous user
|
2014-08-11 23:53:32 -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
|
189e678842
|
simplify labels & milestones managment
|
2014-08-11 22:09:31 -07:00 |
|
Élie Bouttier
|
d881679b7e
|
restricting access using permissions, first step
|
2014-08-10 17:36:47 -07:00 |
|
Élie Bouttier
|
be4df3a1f7
|
fix: signals not working with django < 1.7
|
2014-08-10 17:34:20 -07:00 |
|
Élie Bouttier
|
e603464e6a
|
can_user -> perm, that now check project perm too
|
2014-08-10 15:33:29 -07:00 |
|
Élie Bouttier
|
805166de05
|
distinct global permission & project permission
|
2014-08-10 15:31:56 -07:00 |
|
Élie Bouttier
|
0a9d0f91e0
|
use django-forms-bootstrap instead of crispy
lighter and should works with python 3.2 out-of-the-box but still need a
patch to no longer depend of bootstrap doc's css (bs-callout)
|
2014-08-09 12:01:37 -07:00 |
|
Élie Bouttier
|
afda0ca3df
|
first views tests
|
2014-08-09 02:18:06 -07:00 |
|
Élie Bouttier
|
3a211b74a4
|
pep8
|
2014-08-09 01:13:42 -07:00 |
|
Élie Bouttier
|
1842803379
|
python 2 compatibility
|
2014-08-08 19:59:58 -07:00 |
|
Élie Bouttier
|
672073a6cd
|
add tests for the permissions framework
|
2014-08-08 19:34:23 -07:00 |
|
Élie Bouttier
|
8f37e5208d
|
improve templates, especially forms
|
2014-08-08 19:32:59 -07:00 |
|
Élie Bouttier
|
2738e6712c
|
prevent useless events like same label change
|
2014-08-08 19:30:28 -07:00 |
|
Élie Bouttier
|
6f4fad51ba
|
fix: project duplicate when diff. way grant access
|
2014-08-08 19:28:16 -07:00 |
|
Élie Bouttier
|
1e2ff3bd78
|
fix: project -> project.name due to middleware
bug introduced in e3b8ec9f5067ad4f6c0ff50cde62bcbfda69ebbe
|
2014-08-08 19:26:42 -07:00 |
|
Élie Bouttier
|
4d7ab944c2
|
add project permissions managment page
|
2014-08-08 00:56:13 -07:00 |
|
Élie Bouttier
|
5465d537c3
|
template processor can_user to check permissions
|
2014-08-07 22:13:46 -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
|
4702df036e
|
add some new global permissions
|
2014-08-07 19:23:50 -07:00 |
|
Élie Bouttier
|
81927a3cad
|
add global permissions managment page
|
2014-08-07 19:19:41 -07:00 |
|
Élie Bouttier
|
de137b0df9
|
add profile page, listing groups and teams
|
2014-08-07 19:17:19 -07:00 |
|
Élie Bouttier
|
4101c84e26
|
remove commented imports
|
2014-08-07 19:16:38 -07:00 |
|
Élie Bouttier
|
7315954614
|
use simple integer choice instead of ContentType
|
2014-08-07 19:14:51 -07:00 |
|
Élie Bouttier
|
42f3237ef6
|
pluralize issue & milestone count
|
2014-08-07 19:03:27 -07:00 |
|
Élie Bouttier
|
fbdc2c1aca
|
avoid useless retrieval of user object
|
2014-08-07 13:54:09 -07:00 |
|
Élie Bouttier
|
4c7e906c1a
|
add permissions backend
|
2014-08-07 13:53:32 -07:00 |
|
Élie Bouttier
|
dcadc324db
|
add permissions models and settings model
|
2014-08-07 13:51:57 -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 |
|
Élie Bouttier
|
401bee8e1c
|
remove stronghold before new permissions system
|
2014-08-07 08:12:48 -07:00 |
|
Élie Bouttier
|
cc92b928c7
|
improve error message
|
2014-08-06 07:44:00 -07:00 |
|
Élie Bouttier
|
037f357277
|
issues & milestones count
|
2014-08-06 00:13:58 -07:00 |
|
Élie Bouttier
|
89b2751448
|
replace .count() by .exists() in condition
|
2014-08-06 00:06:54 -07:00 |
|