You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Martin Perez <mp...@gmail.com> on 2005/10/30 11:53:25 UTC
How to delete a workspace
Creating a workspace is a very easy task, but how can a jackrabbit workspace
be deleted programatically?
Thanks.
Re: How to delete a workspace
Posted by Martin Perez <mp...@gmail.com>.
Well, for me is indispensable :D, because my users can create/delete
workspaces theirselves.
But, don't worry, I'll do some hack to directly delete the directories. I
hope that doing this does not cause inconsistencies.
Regards.
On 10/30/05, Stefan Guggisberg <st...@gmail.com> wrote:
>
> On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> > Hi Stefan.
> >
> > Is this support planned? For me, it seems a clear TODO. Maybe a fast
> > solution could be tag the workspace as "deleted" and then modify the
> > login/get repositories list methods.
> >
> > Well, who knows. I'm talking being relatively new to jackrabbit. So
> forgive
> > me, if what I'm saying is not so trivial.
>
> don't worry martin. your suggestion would indeed be a trivial solution.
> 'disabling' a workspace could also be accomplished with access control
> (by denying access to a given workspace for everyone).
>
> i thought you meant physically removing a workspace and all its content
> which IMO would be non-trivial to implement properly.
>
> workspace management is something that will be addressed in jsr-283.
> jackrabbit will sooner or later support programmatic workspace removal.
> i don't think that it will make it into jackrabbit version 1.0 though
> (unless
> a lot of people deem it an indispensible 1.0 feature of course).
>
> cheers
> stefan
>
> >
> > Regards.
> >
> > On 10/30/05, Stefan Guggisberg <st...@gmail.com> wrote:
> > >
> > > hi martin
> > >
> > > On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> > > > Creating a workspace is a very easy task, but how can a jackrabbit
> > > workspace
> > > > be deleted programatically?
> > >
> > > currently there's no programmatic way to do that, sorry. the reason is
> > > that it
> > > would be quite complicated to implement it properly, just think of
> > > access control
> > > & versioning issues.
> > >
> > > cheers
> > > stefan
> > >
> > > >
> > > > Thanks.
> > > >
> > > >
> > >
> >
> >
>
Re: How to delete a workspace
Posted by Stefan Guggisberg <st...@gmail.com>.
On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> Hi Stefan.
>
> Is this support planned? For me, it seems a clear TODO. Maybe a fast
> solution could be tag the workspace as "deleted" and then modify the
> login/get repositories list methods.
>
> Well, who knows. I'm talking being relatively new to jackrabbit. So forgive
> me, if what I'm saying is not so trivial.
don't worry martin. your suggestion would indeed be a trivial solution.
'disabling' a workspace could also be accomplished with access control
(by denying access to a given workspace for everyone).
i thought you meant physically removing a workspace and all its content
which IMO would be non-trivial to implement properly.
workspace management is something that will be addressed in jsr-283.
jackrabbit will sooner or later support programmatic workspace removal.
i don't think that it will make it into jackrabbit version 1.0 though (unless
a lot of people deem it an indispensible 1.0 feature of course).
cheers
stefan
>
> Regards.
>
> On 10/30/05, Stefan Guggisberg <st...@gmail.com> wrote:
> >
> > hi martin
> >
> > On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> > > Creating a workspace is a very easy task, but how can a jackrabbit
> > workspace
> > > be deleted programatically?
> >
> > currently there's no programmatic way to do that, sorry. the reason is
> > that it
> > would be quite complicated to implement it properly, just think of
> > access control
> > & versioning issues.
> >
> > cheers
> > stefan
> >
> > >
> > > Thanks.
> > >
> > >
> >
>
>
Re: How to delete a workspace
Posted by Martin Perez <mp...@gmail.com>.
Hi Stefan.
Is this support planned? For me, it seems a clear TODO. Maybe a fast
solution could be tag the workspace as "deleted" and then modify the
login/get repositories list methods.
Well, who knows. I'm talking being relatively new to jackrabbit. So forgive
me, if what I'm saying is not so trivial.
Regards.
On 10/30/05, Stefan Guggisberg <st...@gmail.com> wrote:
>
> hi martin
>
> On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> > Creating a workspace is a very easy task, but how can a jackrabbit
> workspace
> > be deleted programatically?
>
> currently there's no programmatic way to do that, sorry. the reason is
> that it
> would be quite complicated to implement it properly, just think of
> access control
> & versioning issues.
>
> cheers
> stefan
>
> >
> > Thanks.
> >
> >
>
Re: How to delete a workspace
Posted by Stefan Guggisberg <st...@gmail.com>.
hi martin
On 10/30/05, Martin Perez <mp...@gmail.com> wrote:
> Creating a workspace is a very easy task, but how can a jackrabbit workspace
> be deleted programatically?
currently there's no programmatic way to do that, sorry. the reason is that it
would be quite complicated to implement it properly, just think of
access control
& versioning issues.
cheers
stefan
>
> Thanks.
>
>