You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk> on 2003/03/28 04:37:58 UTC

Versioning quesitons...

Hi,

When I set verisioning, (<parameter 
name="auto-version-control">true</parameter>) 
only root can write data. However I have set right 
permission for other users.
After I unset verisioning (false)... the suitable becomes normal.. all
users who have right permission can write data . Why?

thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


About user authenication and authorization

Posted by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>.
Hi,

I know that I can set tomcat-users.xml and Domain.xml for user
authenication and authorization. However, I need to restart tomcat each
time when I update either files. It seems that it is not applicable if I
use it in an application. 

I know that I can config server.xml in tomcat to use
'SlideRealm'. Actually, what's the use? It doesn't need to use
'tomcat-users.xml' anymore? I have done it but I don't know what happens
then.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Versioning quesitons...

Posted by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>.
> > > For Versioning to work every user with write permissions needs
> > inheritabl
> > e
> > > write permissions on /history too.
> > 
> > I've set these lines in Domain.xml 
> >         <objectnode
> > classname="org.apache.slide.structure.SubjectNode" uri="/history">
> >                 <permission
> > action="/actions/write" subject="nobody" inheritable="false" negative
> > ="true"/>
> >         </objectnode>
> > 
> > so that everybody has the right to write..
> 
> I think nobody means nobody. Try subject="/users" which means every user
> under /users.
> 
I still can't do so. I have first changed 'nobody' to '/users', then
action="/actions", now it becomes like this..
        <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/history">
                <permission action="/actions" subject="/users"/>
        </objectnode>

However, it's still failure. I have attached the Domain.xml also, please
help..


> > 
> > however, I still can't use 'klwong' account to write anything into
> > 'cnc'. I can do so if I set the auto-version-control to false.
> > 
> > 
> > > 
> > > Andreas
> > > 
> > > 
> > > > Hi,
> > > > 
> > > > When I set verisioning, (<parameter 
> > > > name="auto-version-control">true</parameter>) 
> > > > only root can write data. However I have set right 
> > > > permission for other users.
> > > > After I unset verisioning (false)... the suitable becomes normal.. all
> > > > users who have right permission can write data . Why?
> > > > 
> > > > thanks
> > > > 
> > > >
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

Re: Versioning quesitons...

Posted by an...@gmx.net.
> On Fri, 28 Mar 2003 andpro77@gmx.net wrote:
> 
> > For Versioning to work every user with write permissions needs
> inheritabl
> e
> > write permissions on /history too.
> 
> I've set these lines in Domain.xml 
>         <objectnode
> classname="org.apache.slide.structure.SubjectNode" uri="/history">
>                 <permission
> action="/actions/write" subject="nobody" inheritable="false" negative
> ="true"/>
>         </objectnode>
> 
> so that everybody has the right to write..

I think nobody means nobody. Try subject="/users" which means every user
under /users.

> 
> however, I still can't use 'klwong' account to write anything into
> 'cnc'. I can do so if I set the auto-version-control to false.
> 
> 
> > 
> > Andreas
> > 
> > 
> > > Hi,
> > > 
> > > When I set verisioning, (<parameter 
> > > name="auto-version-control">true</parameter>) 
> > > only root can write data. However I have set right 
> > > permission for other users.
> > > After I unset verisioning (false)... the suitable becomes normal.. all
> > > users who have right permission can write data . Why?
> > > 
> > > thanks
> > > 
> > >

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Versioning quesitons...

Posted by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>.
Sorry, I forget to attach my Domain.xml file
On Fri, 28 Mar 2003, Wong Kam Lai wrote:

> On Fri, 28 Mar 2003 andpro77@gmx.net wrote:
> 
> > For Versioning to work every user with write permissions needs inheritable
> > write permissions on /history too.
> 
> I've set these lines in Domain.xml 
>         <objectnode
> classname="org.apache.slide.structure.SubjectNode" uri="/history">
>                 <permission
> action="/actions/write" subject="nobody" inheritable="false" negative="true"/>
>         </objectnode>
> 
> so that everybody has the right to write..
> 
> however, I still can't use 'klwong' account to write anything into
> 'cnc'. I can do so if I set the auto-version-control to false.
> 
> 
> > 
> > Andreas
> > 
> > 
> > > Hi,
> > > 
> > > When I set verisioning, (<parameter 
> > > name="auto-version-control">true</parameter>) 
> > > only root can write data. However I have set right 
> > > permission for other users.
> > > After I unset verisioning (false)... the suitable becomes normal.. all
> > > users who have right permission can write data . Why?
> > > 
> > > thanks
> > > 
> > >
> > 
> > -- 
> > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> > Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

Re: Versioning quesitons...

Posted by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>.
On Fri, 28 Mar 2003 andpro77@gmx.net wrote:

> For Versioning to work every user with write permissions needs inheritable
> write permissions on /history too.

I've set these lines in Domain.xml 
        <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/history">
                <permission
action="/actions/write" subject="nobody" inheritable="false" negative="true"/>
        </objectnode>

so that everybody has the right to write..

however, I still can't use 'klwong' account to write anything into
'cnc'. I can do so if I set the auto-version-control to false.


> 
> Andreas
> 
> 
> > Hi,
> > 
> > When I set verisioning, (<parameter 
> > name="auto-version-control">true</parameter>) 
> > only root can write data. However I have set right 
> > permission for other users.
> > After I unset verisioning (false)... the suitable becomes normal.. all
> > users who have right permission can write data . Why?
> > 
> > thanks
> > 
> >
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Versioning quesitons...

Posted by an...@gmx.net.
For Versioning to work every user with write permissions needs inheritable
write permissions on /history too.

Andreas


> Hi,
> 
> When I set verisioning, (<parameter 
> name="auto-version-control">true</parameter>) 
> only root can write data. However I have set right 
> permission for other users.
> After I unset verisioning (false)... the suitable becomes normal.. all
> users who have right permission can write data . Why?
> 
> thanks
> 
>

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Versioning quesitons...

Posted by Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>.
> What are your operating system and programs?
Server: Linux Redhat 7.2, apache+tomcat
Client: windows2000
> 
> 
> --- Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>
> wrote:
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > slide-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Versioning quesitons...

Posted by Hussam Alsawadi <al...@yahoo.com>.
What are your operating system and programs?


--- Wong Kam Lai <kl...@onk.cintec.cuhk.edu.hk>
wrote:
> Hi,
> 
> When I set verisioning, (<parameter 
> name="auto-version-control">true</parameter>) 
> only root can write data. However I have set right 
> permission for other users.
> After I unset verisioning (false)... the suitable
> becomes normal.. all
> users who have right permission can write data .
> Why?
> 
> thanks
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> slide-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org