In the Tripal BLAST UI module, the Tripal job launcher is used to start the BLAST job. This causes a message to appear on the page indicating the job was submitted to the job queue, along with a link to the job queue page. But if the user is not logged in as an administrator, clicking the link causes an error. In addition, the link is likely to confuse the user as to where to go to get the BLAST results. (The user should just stay on the current page and wait.)

Fixing this appears to require a change to Tripal core.

Comments

spficklin’s picture

Assigned: Unassigned » spficklin

So, just to clarify. You have a user that can add new blast content to the site, but this user doesn't have permission to view the job queue?

But you are correct, there is no check to make sure the user has access to the page before that link is included in the response. I'll fix this.

  • spficklin committed 877f658 on 7.x-2.x
    Provided fix for issue #2446009 and issue #2430333
    
spficklin’s picture

Status: Active » Closed (fixed)

I have added a bit of code to check if the user has the necessary administrative access before providing the link. If the user does not but is able to add a job then the message that a job has been added will be present, but the link will not. If the user has permission then both messages will be given. I'm marking the issue as closed, but please re-open if problems persist.

spficklin’s picture

Forgot to mention. The fix is now in the 7.x-2.x development branch.