41
42
permission = 'submit_project'
43
def __init__(self, req, name, path=u"/"):
45
def __init__(self, req, context, subpath):
46
super(SubmitView, self).__init__(req, context, subpath)
44
51
# We need to work out which entity owns the repository, so we look
45
52
# at the first two path segments. The first tells us the type.
46
53
self.context = self.get_repository_owner(req.store, name)