Commit 957ed2d1 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

Merge branch 'gm-ldppermission' into 'master'

update: LDPPermissions used

See merge request !9
parents f79b4420 5e908a60
Pipeline #4756 passed with stage
in 28 seconds
......@@ -18,9 +18,11 @@ class JobOffer(Model):
class Meta:
auto_author = 'author'
nested_fields = ["skills", "conversation"]
anonymous_perms = ["view"]
authenticated_perms = ["inherit", "add"]
owner_perms = ["inherit", "change", "delete"]
container_path = 'job-offers/'
rdf_type = 'hd:joboffer'
depth = 0
def __str__(self):
return '{} ({})'.format(self.title, self.author.get_full_name())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment