#961 Mercurial permissions, and other errors [14067]

v1.0.0
closed
sf-4 (350)
SCM
nobody
2015-08-20
2010-09-22
Chris Tsai
No

https://sourceforge.net/apps/trac/sourceforge/ticket/14067

I added aardtools to aarddict project: https://sourceforge.net/p/aarddict/aardtools/, then added "Tool: Hg", but corresponding tab didn't show up at https://sourceforge.net/p/aarddict/aardtools/home/. When I try to edit aardtools' "Tool: Hg" (https://sourceforge.net/p/aarddict/aardtools/admin/mercurial/) I get this message:

You are not allowed to edit permissions for mercurial.

The tool shows up fine with my site-admin account, but it's not visible when I'm logged out. Furthermore, if I'm signed into my site-admin account, I get a 500 error if I try to go to the tool's URL. If I'm logged out, it redirects me to login.

Discussion

  • Mark Ramm - 2010-10-04
    • custom_field__size: --> 2
     
  • Jenny Steele - 2010-10-21
    • status: open --> in-progress
    • assigned_to: Jenny Steele
    • custom_field__size: 2 --> 2

    All tools on subprojects are exhibiting this behavior.

     
  • Jenny Steele - 2010-10-22

    This is due to subprojects not being assigned any permissions when initially created. I have pushed a fix for this which will fix any subprojects created in the future. Current subprojects can be fixed by recreating (shouldn't be a big deal as this bug prevented putting much data in them) or going to the hidden permissions admin page and adding the appropriate permissions.

     
  • Jenny Steele - 2010-10-22
    • status: in-progress --> validation
     
  • Jenny Steele - 2010-10-22

    I applied a better fix Rick suggested which doesn't require deleting the subproject. Instead you just need to delete and reinstall the effected tools.

     

Log in to post a comment.