•  
      request #1129 Some images/charts are not generated for restricted users
    Infos
    #1129
    Marc Dumais (marc.dumais)
    2012-11-30 16:07
    2012-07-09 13:46
    538
    Details
    Some images/charts are not generated for restricted users
    Hi,

    A user has reported a relatively small but annoying problem: some images that seem to be generated on-the-fly are not displayed for him. After investigation, we noticed that this happens with restricted users.

    One place this happens in in the tracker, when generating a chart. Another place is in the statistics plug-in. See attached screenshot; you can see the two red "x", where the images / charts would be. Promoting the user to full user instead of restricted user fixes the problem.

    I have attempted to track down where the creation of the charts break down, but was unable to conclude.

    Any ideas what's happening?

    BTW, I have customized the permissions for restricted users in file /etc/codendi/site-content/en_US/include/restricted_user_permissions.txt . I have opened the permissions somewhat:

    $forbidden_url = array(
    '/snippet', // Code Snippet Library
    // '/softwaremap/', // browsable software map
    // '/new', // list of the newest releases made on the Codendi site
    // '/search', // search for people, projects, and artifacts in trackers!
    // '/people/', // people skills and profile
    // '/stats', // Codendi site statistics
    // '/top', // projects rankings (active, downloads, etc)
    // '/project/register.php', // Register a new project
    // '/export', // Codendi XML feeds
    '/info.php' // PHP info
    );

    Thanks,

    Marc
    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Verified (disabled)
    Empty
    Attachments
    References
    References list is empty

    Follow-ups

    User avatar
    Has it been fixed?

    • Reported in version cleared values: 5.2
    • Platform set to
    • Is an Enhancement or an internal improvement? set to