|
Home > Archive > WebSphere Commerce suite > April 2004 > User Authority problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
User Authority problem
|
|
| Anthony Pomtree 2004-04-12, 6:33 pm |
| Getting the following error when trying to call a custom commerce command in
WC v5.5:
-------------
[4/12/04 17:09:58:628 CDT] 3afcac1f CommerceSrvr E AccManager isAllowed
CMN1501E: User 4054238 does not have the authority to perform action
"<mypackage>.MyPersonalCheckCmd" on resource
"com.ibm.commerce.order.objects._Order_Stub" for command "MyPersonalCheck".
[4/12/04 17:09:58:646 CDT] 3afcac1f CommerceSrvr E
<mypackage>.MyPersonalCheckCmdImpl checkResourcePermission The user does not
have the authority to run this command "MyPersonalCheck".
[4/12/04 17:09:59:661 CDT] 3afcac1f SystemOut O ErrorDataBean:
Originating command:
Message Type: 0
Message Key: _ERR_USER_AUTHORITY
Message: The user does not have the authority to run this command
"MyPersonalCheck".
[4/12/04 17:09:59:661 CDT] 3afcac1f SystemOut O Message Key =
[_ERR_USER_AUTHORITY]
-------------
I've checked every access policy table on the database and it looks as
though this command is set up correctly. I have other custom commands and
they work just fine. It is a URL command (i.e. OrderItemAdd or
OrderItemUpdate). I don't know where else to look. Any suggestions?
| |
| Mayura 2004-04-13, 12:33 am |
| Hi Anthony,
Are you passing foruserId parameter with the command as a form hidden
parameter or in url? If yes then just remove it and then try.In wcs5.1
there was a requirement to pass this parameter exclusively but in WCS
5.5 i found that there is no requirement to pass this parameter
through URL .Check your access level through organisation admin
console also.
Thanks,
Mayura
"Anthony Pomtree" <wcs@pomtree.net> wrote in message news:<c5f52i$3o5u$1@news.boulder.ibm.com>...
> Getting the following error when trying to call a custom commerce command in
> WC v5.5:
>
> -------------
> [4/12/04 17:09:58:628 CDT] 3afcac1f CommerceSrvr E AccManager isAllowed
> CMN1501E: User 4054238 does not have the authority to perform action
> "<mypackage>.MyPersonalCheckCmd" on resource
> "com.ibm.commerce.order.objects._Order_Stub" for command "MyPersonalCheck".
> [4/12/04 17:09:58:646 CDT] 3afcac1f CommerceSrvr E
> <mypackage>.MyPersonalCheckCmdImpl checkResourcePermission The user does not
> have the authority to run this command "MyPersonalCheck".
> [4/12/04 17:09:59:661 CDT] 3afcac1f SystemOut O ErrorDataBean:
> Originating command:
> Message Type: 0
> Message Key: _ERR_USER_AUTHORITY
> Message: The user does not have the authority to run this command
> "MyPersonalCheck".
> [4/12/04 17:09:59:661 CDT] 3afcac1f SystemOut O Message Key =
> [_ERR_USER_AUTHORITY]
> -------------
>
> I've checked every access policy table on the database and it looks as
> though this command is set up correctly. I have other custom commands and
> they work just fine. It is a URL command (i.e. OrderItemAdd or
> OrderItemUpdate). I don't know where else to look. Any suggestions?
| |
| Anthony Pomtree 2004-04-13, 10:36 am |
| No, I am essentially passing in the same parameters I would for
OrderItemAdd.
"Mayura" <mayura.jain@hpsglobal.com> wrote in message
news:2685c32c.0404122010.4901db31@posting.google.com...
> Hi Anthony,
>
> Are you passing foruserId parameter with the command as a form hidden
> parameter or in url? If yes then just remove it and then try.In wcs5.1
> there was a requirement to pass this parameter exclusively but in WCS
> 5.5 i found that there is no requirement to pass this parameter
> through URL .Check your access level through organisation admin
> console also.
>
> Thanks,
> Mayura
>
> "Anthony Pomtree" <wcs@pomtree.net> wrote in message
news:<c5f52i$3o5u$1@news.boulder.ibm.com>...[color=darkred]
command in[color=darkred]
"MyPersonalCheck".[color=darkred]
not[color=darkred]
and[color=darkred]
|
|
|
|
|