[jira] Created: (MRM-1231) Not authorized to use method with version parameter

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (MRM-1231) Not authorized to use method with version parameter

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

 Not authorized to use method with version parameter
----------------------------------------------------

                 Key: MRM-1231
                 URL: http://jira.codehaus.org/browse/MRM-1231
             Project: Archiva
          Issue Type: Bug
          Components: xmlrpc
    Affects Versions: 1.2.1
         Environment: xml-rpc client developed in php
            Reporter: Fabien


I have instantiated an xml-rpc client in php (which is working) with login / password of archiva administrator account.

But I have a strange behavior.

According to this documentation :
http://archiva.apache.org/docs/1.2.1/adminguide/web-services.html

I can use Administration Service, and get back information.

I can use Search Service, excepted methods that are using a version of artifact in parameter!

For example :

SearchService.getArtifactVersions( String groupId, String artifactId )  is working
AdministrationService.getAllManagedRepositories() is working

SearchService.getDependencies( String groupId, String artifactId, String version ) is not working, And the returned message is : "Not authorized".
SearchService.getDependencyTree( String groupId, String artifactId, String version )  is not working, And the returned message is : "Not authorized".

I don't understand my mistake because there is no problem with administration Service which needs an user with System Administrator role in Archiva, but it is not working for Search Services with an artifact version, which needs only an user with at least a Repository Observer role. So for me it's a bug



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (MRM-1231) Not authorized to use method with version parameter

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MRM-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188054#action_188054 ]

Brett Porter commented on MRM-1231:
-----------------------------------

is there anything in your Archiva logs at the time indicating what the problem might be?

>  Not authorized to use method with version parameter
> ----------------------------------------------------
>
>                 Key: MRM-1231
>                 URL: http://jira.codehaus.org/browse/MRM-1231
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.1
>         Environment: xml-rpc client developed in php
>            Reporter: Fabien
>
> I have instantiated an xml-rpc client in php (which is working) with login / password of archiva administrator account.
> But I have a strange behavior.
> According to this documentation :
> http://archiva.apache.org/docs/1.2.1/adminguide/web-services.html
> I can use Administration Service, and get back information.
> I can use Search Service, excepted methods that are using a version of artifact in parameter!
> For example :
> SearchService.getArtifactVersions( String groupId, String artifactId )  is working
> AdministrationService.getAllManagedRepositories() is working
> SearchService.getDependencies( String groupId, String artifactId, String version ) is not working, And the returned message is : "Not authorized".
> SearchService.getDependencyTree( String groupId, String artifactId, String version )  is not working, And the returned message is : "Not authorized".
> I don't understand my mistake because there is no problem with administration Service which needs an user with System Administrator role in Archiva, but it is not working for Search Services with an artifact version, which needs only an user with at least a Repository Observer role. So for me it's a bug

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (MRM-1231) Not authorized to use method with version parameter

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MRM-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=188260#action_188260 ]

Fabien commented on MRM-1231:
-----------------------------

No, I have put the logger in Debug mode , but nothing in Archiva logs... If someone can try with the sample client

>  Not authorized to use method with version parameter
> ----------------------------------------------------
>
>                 Key: MRM-1231
>                 URL: http://jira.codehaus.org/browse/MRM-1231
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.1
>         Environment: xml-rpc client developed in php
>            Reporter: Fabien
>
> I have instantiated an xml-rpc client in php (which is working) with login / password of archiva administrator account.
> But I have a strange behavior.
> According to this documentation :
> http://archiva.apache.org/docs/1.2.1/adminguide/web-services.html
> I can use Administration Service, and get back information.
> I can use Search Service, excepted methods that are using a version of artifact in parameter!
> For example :
> SearchService.getArtifactVersions( String groupId, String artifactId )  is working
> AdministrationService.getAllManagedRepositories() is working
> SearchService.getDependencies( String groupId, String artifactId, String version ) is not working, And the returned message is : "Not authorized".
> SearchService.getDependencyTree( String groupId, String artifactId, String version )  is not working, And the returned message is : "Not authorized".
> I don't understand my mistake because there is no problem with administration Service which needs an user with System Administrator role in Archiva, but it is not working for Search Services with an artifact version, which needs only an user with at least a Repository Observer role. So for me it's a bug

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (MRM-1231) Not authorized to use method with version parameter

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MRM-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194953#action_194953 ]

Brett Porter commented on MRM-1231:
-----------------------------------

sorry for the delay, I've been able to confirm this issue.

>  Not authorized to use method with version parameter
> ----------------------------------------------------
>
>                 Key: MRM-1231
>                 URL: http://jira.codehaus.org/browse/MRM-1231
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.1
>         Environment: xml-rpc client developed in php
>            Reporter: Fabien
>
> I have instantiated an xml-rpc client in php (which is working) with login / password of archiva administrator account.
> But I have a strange behavior.
> According to this documentation :
> http://archiva.apache.org/docs/1.2.1/adminguide/web-services.html
> I can use Administration Service, and get back information.
> I can use Search Service, excepted methods that are using a version of artifact in parameter!
> For example :
> SearchService.getArtifactVersions( String groupId, String artifactId )  is working
> AdministrationService.getAllManagedRepositories() is working
> SearchService.getDependencies( String groupId, String artifactId, String version ) is not working, And the returned message is : "Not authorized".
> SearchService.getDependencyTree( String groupId, String artifactId, String version )  is not working, And the returned message is : "Not authorized".
> I don't understand my mistake because there is no problem with administration Service which needs an user with System Administrator role in Archiva, but it is not working for Search Services with an artifact version, which needs only an user with at least a Repository Observer role. So for me it's a bug

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (MRM-1231) Not authorized to use method with version parameter

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MRM-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-1231.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.3
         Assignee: Brett Porter

>  Not authorized to use method with version parameter
> ----------------------------------------------------
>
>                 Key: MRM-1231
>                 URL: http://jira.codehaus.org/browse/MRM-1231
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.1
>         Environment: xml-rpc client developed in php
>            Reporter: Fabien
>            Assignee: Brett Porter
>             Fix For: 1.2.3
>
>
> I have instantiated an xml-rpc client in php (which is working) with login / password of archiva administrator account.
> But I have a strange behavior.
> According to this documentation :
> http://archiva.apache.org/docs/1.2.1/adminguide/web-services.html
> I can use Administration Service, and get back information.
> I can use Search Service, excepted methods that are using a version of artifact in parameter!
> For example :
> SearchService.getArtifactVersions( String groupId, String artifactId )  is working
> AdministrationService.getAllManagedRepositories() is working
> SearchService.getDependencies( String groupId, String artifactId, String version ) is not working, And the returned message is : "Not authorized".
> SearchService.getDependencyTree( String groupId, String artifactId, String version )  is not working, And the returned message is : "Not authorized".
> I don't understand my mistake because there is no problem with administration Service which needs an user with System Administrator role in Archiva, but it is not working for Search Services with an artifact version, which needs only an user with at least a Repository Observer role. So for me it's a bug

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira