diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-17 20:53:11 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-17 20:53:11 +0200 |
| commit | 0dfe2d08f84dd69fac50401b0af04e602d148242 (patch) | |
| tree | 32d48af331dc356dcbb3510655942728be1390f4 /ishtar_common/wizards.py | |
| parent | b6becbf6770dc30a88ef814effecd53b6c707da2 (diff) | |
| download | Ishtar-0dfe2d08f84dd69fac50401b0af04e602d148242.tar.bz2 Ishtar-0dfe2d08f84dd69fac50401b0af04e602d148242.zip | |
Fix permission management
* improve ObjectPermBackend
* change permission right from wizard to groups
* remove default to administrator
* add default data for french person_types
Diffstat (limited to 'ishtar_common/wizards.py')
| -rw-r--r-- | ishtar_common/wizards.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index df415ce34..534671972 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -46,6 +46,8 @@ class Wizard(NamedUrlWizardView): cond = condition(self) if not cond: return False + return True + #TODO: to be check if not hasattr(self.request.user, 'ishtaruser'): return False return self.request.user.ishtaruser.has_right(('administrator', |
