Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
dataprocessing
Commits
e10b4cbe1624
Commit
8d21b9d5
authored
Jan 19, 2017
by
Denis Laxalde
Browse files
[schema] Add permissions to transformation_sequence relation
parent
eca99cdb9f7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
migration/0.3.0_Any.py
0 → 100644
View file @
e10b4cbe
sync_schema_props_perms
(
'transformation_sequence'
)
schema.py
View file @
e10b4cbe
...
...
@@ -199,7 +199,11 @@ class TransformationScript(_Script):
class
transformation_sequence
(
RelationDefinition
):
# TODO __permissions__
__permissions__
=
{
'read'
:
(
'managers'
,
'users'
),
'add'
:
(
RRQLExpression
(
'U has_update_permission S'
),
),
'delete'
:
(
RRQLExpression
(
'U has_update_permission S'
),
),
}
subject
=
'DataTransformationProcess'
object
=
'TransformationSequence'
cardinality
=
'1*'
...
...
Write
Preview
Supports
Markdown
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