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 Haiying Qiao <qi...@ait.nrl.navy.mil> on 2003/08/06 23:47:32 UTC

bad request exception for grant permission

I am using 7/30 build and deployed in Tomcat 4.1
Login as root, issue grant command as:

	grant /actions/write on /slide/files to guest

get Bad Request (400) from client console. 

The server side shows: Error parsing requestBody: ........


Is this a bug or I did something wrong? Any helps are appreciated.

Haiying Qiao

RE: bad request exception for grant permission

Posted by Haiying Qiao <qi...@ait.nrl.navy.mil>.
Thanks! I found that I also have to grant /history to the user, otherwise
the user still can't upload a file. This may cause authorization problem. Is
there any way to get arround of this?

Regards,

Haiying Qiao

-----Original Message-----
From: Ingo Brunberg [mailto:ib@fiz-chemie.de]
Sent: Thursday, August 07, 2003 2:40 AM
To: slide-user@jakarta.apache.org
Subject: Re: bad request exception for grant permission


Just name the permission, not the object node. Therefore you should
try:

grant write on /slide/files to guest

Regards,
Ingo

> I am using 7/30 build and deployed in Tomcat 4.1
> Login as root, issue grant command as:
>
> 	grant /actions/write on /slide/files to guest
>
> get Bad Request (400) from client console.
>
> The server side shows: Error parsing requestBody: ........
>
>
> Is this a bug or I did something wrong? Any helps are appreciated.
>
> Haiying Qiao


---------------------------------------------------------------------
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: bad request exception for grant permission

Posted by Haiying Qiao <qi...@ait.nrl.navy.mil>.
Thanks! I found that I also have to grant /history to the user, otherwise
the user still can't upload a file. This may cause authorization problem. Is
there any way to get arround of this?

Regards,

Haiying Qiao

-----Original Message-----
From: Ingo Brunberg [mailto:ib@fiz-chemie.de]
Sent: Thursday, August 07, 2003 2:40 AM
To: slide-user@jakarta.apache.org
Subject: Re: bad request exception for grant permission


Just name the permission, not the object node. Therefore you should
try:

grant write on /slide/files to guest

Regards,
Ingo

> I am using 7/30 build and deployed in Tomcat 4.1
> Login as root, issue grant command as:
>
> 	grant /actions/write on /slide/files to guest
>
> get Bad Request (400) from client console.
>
> The server side shows: Error parsing requestBody: ........
>
>
> Is this a bug or I did something wrong? Any helps are appreciated.
>
> Haiying Qiao


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



Re: bad request exception for grant permission

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Just name the permission, not the object node. Therefore you should
try:

grant write on /slide/files to guest

Regards,
Ingo

> I am using 7/30 build and deployed in Tomcat 4.1
> Login as root, issue grant command as:
> 
> 	grant /actions/write on /slide/files to guest
> 
> get Bad Request (400) from client console. 
> 
> The server side shows: Error parsing requestBody: ........
> 
> 
> Is this a bug or I did something wrong? Any helps are appreciated.
> 
> Haiying Qiao


Re: bad request exception for grant permission

Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
Just name the permission, not the object node. Therefore you should
try:

grant write on /slide/files to guest

Regards,
Ingo

> I am using 7/30 build and deployed in Tomcat 4.1
> Login as root, issue grant command as:
> 
> 	grant /actions/write on /slide/files to guest
> 
> get Bad Request (400) from client console. 
> 
> The server side shows: Error parsing requestBody: ........
> 
> 
> Is this a bug or I did something wrong? Any helps are appreciated.
> 
> Haiying Qiao


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