Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
localperms
Commits
285fe5268994
Commit
254222f3
authored
Mar 07, 2013
by
Aurelien Campeas
Browse files
views: cw 3.15 compat (closes #2731193)
parent
fb2a4f3b1cc7
Changes
3
Hide whitespace changes
Inline
Side-by-side
__pkginfo__.py
View file @
285fe526
...
...
@@ -13,7 +13,7 @@ author_email = 'contact@logilab.fr'
description
=
'allow definition of local permissions'
web
=
'http://www.cubicweb.org/project/%s'
%
distname
__depends__
=
{
'cubicweb'
:
'>= 3.1
4
.0'
}
__depends__
=
{
'cubicweb'
:
'>= 3.1
5
.0'
}
__recommends__
=
{}
...
...
debian/control
View file @
285fe526
...
...
@@ -2,13 +2,13 @@ Source: cubicweb-localperms
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends: debhelper (>= 5.0.37.1), python (>=2.
4
), python-dev (>=2.
4
)
Build-Depends: debhelper (>= 5.0.37.1), python (>=2.
6
), python-dev (>=2.
6
)
Standards-Version: 3.8.0
Package: cubicweb-localperms
Architecture: all
Depends: cubicweb-common (>= 3.1
4
.0)
Depends: cubicweb-common (>= 3.1
5
.0)
Description: allow definition of local permissions
CubicWeb is a semantic web application framework.
.
...
...
views.py
View file @
285fe526
...
...
@@ -20,8 +20,8 @@ _ = unicode
from
logilab.mtconverter
import
xml_escape
from
cubicweb.
selector
s
import
(
one_line_rset
,
non_final_entity
,
is_instance
,
match_user_groups
,
relation_possible
)
from
cubicweb.
predicate
s
import
(
one_line_rset
,
non_final_entity
,
is_instance
,
match_user_groups
,
relation_possible
)
from
cubicweb.view
import
EntityView
from
cubicweb.web
import
uicfg
,
formwidgets
as
wdgs
from
cubicweb.web.formfields
import
guess_field
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment