You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "David Degardin (JIRA)" <ji...@codehaus.org> on 2008/12/01 14:15:19 UTC

[jira] Created: (MRM-1026) Repository manager does not see the "Upload" link

Repository manager does not see the "Upload" link
-------------------------------------------------

                 Key: MRM-1026
                 URL: http://jira.codehaus.org/browse/MRM-1026
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.1.3
         Environment: OS: Linux
Deployed in Tomcat with a MySQL database
            Reporter: David Degardin
            Priority: Minor


Hello,

I've users that are "Repository Manager".
They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.

I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
<redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">

So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.

Please advise.

Thanks,

David

-- 
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] Assigned: (MRM-1026) Repository manager does not see the "Upload" link

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter reassigned MRM-1026:
---------------------------------

    Assignee: Brett Porter

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 1.2-M2
>
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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-1026) Repository manager does not see the "Upload" link

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MRM-1026.
-----------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 1.2-M2)

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Assignee: Brett Porter
>            Priority: Minor
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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] Updated: (MRM-1026) Repository manager does not see the "Upload" link

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1026:
------------------------------

    Fix Version/s:     (was: 1.2)
                   1.2-M2

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Priority: Minor
>             Fix For: 1.2-M2
>
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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-1026) Repository manager does not see the "Upload" link

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156323#action_156323 ] 

Wendy Smoak commented on MRM-1026:
----------------------------------

Good to know the security is working on the upload part, (even if it's not working on the drop-down list contents.)

It should work as you describe, it's just not finished yet. :)

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Priority: Minor
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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-1026) Repository manager does not see the "Upload" link

Posted by "David Degardin (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156206#action_156206 ] 

David Degardin commented on MRM-1026:
-------------------------------------

Hi,

Actually, I can see all of them in the list, even those the user does not manage. I tried to upload artifact in a repository the user is not manager for and I get this message: "User is not authorized to upload in repository XXX". So, user can only upload in repositories he's manager for, it's OK.

Do you think there will be a role to upload ? I don't understand why there is a role "repository manager" that you can give to users and that those users cannot manage their repositories. So, why is this role for ?
I do not want to give "system administrator" role to users (they will also be system administrator on continuum, I do not want this to happen), just let them publish artifacts they have compiled.

For the moment, I'll edit the JSP file to hardcode the link but I'd be very happy if this could be solved.

Let me know if you need something else.

Thanks
David

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Priority: Minor
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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] Work started: (MRM-1026) Repository manager does not see the "Upload" link

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-1026 started by Brett Porter.

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Assignee: Brett Porter
>            Priority: Minor
>             Fix For: 1.2-M2
>
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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] Updated: (MRM-1026) Repository manager does not see the "Upload" link

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1026:
------------------------------

    Fix Version/s: 1.2

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Priority: Minor
>             Fix For: 1.2
>
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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-1026) Repository manager does not see the "Upload" link

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156067#action_156067 ] 

Wendy Smoak commented on MRM-1026:
----------------------------------

Currently only the system administrator can see the upload link on the menu.  The ifAnyAuthorized tag needs adjustment, but I'm not sure we have a role defined for this yet (which is why it's restricted to system admin).

I'm surprise the direct url works.  When you view the url directly, can you see _only_ the repos that you are a manager for in the dropdown, or all of them?

> Repository manager does not see the "Upload" link
> -------------------------------------------------
>
>                 Key: MRM-1026
>                 URL: http://jira.codehaus.org/browse/MRM-1026
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.1.3
>         Environment: OS: Linux
> Deployed in Tomcat with a MySQL database
>            Reporter: David Degardin
>            Priority: Minor
>
> Hello,
> I've users that are "Repository Manager".
> They do not see the link "Upload artifact" in the menu. They have to enter the URL in the browser address bar to go to the upload form. It works but it's not enough "user-friendly" for them.
> I've looked at the default.jsp file in WEB-INF\jsp\decorators folder. It seems that the user does not match this condition:
> <redback:ifAnyAuthorized permissions="archiva-manage-users,archiva-access-reports,archiva-manage-configuration">
> So, either there is something wrong with the taglib (but I do not think so as the "admin" user can see the "Upload artifact link") either giving "Repository manager" role to a user is not enough.
> Please advise.
> Thanks,
> David

-- 
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