PROPFIND/allprop must return 'supportedlock' and 'lockdiscovery' for ProjectResource.

This commit is contained in:
COLA@Redmine.local 2017-02-24 21:43:14 +01:00
parent 6c539ec85b
commit 268b187654

View File

@ -104,6 +104,13 @@ module RedmineDmsf
def file
nil
end
# Available properties
def properties
%w(creationdate displayname getlastmodified getetag resourcetype getcontenttype getcontentlength supportedlock lockdiscovery).collect do |prop|
{:name => prop, :ns_href => 'DAV:'}
end
end
def project_id
self.project.id if self.project