User can flag packages but not unflag them after

Checklist

  • I confirm that this is an issue with aurweb's code and not a user-uploaded package.
  • I have described the bug in complete detail in the Description section.
  • I have specified steps in the Reproduction section.
  • I have included any logs related to the bug in the Logs section.
  • I have included the versions which are affected in the Version(s) section.

Description

When a normal User flags a package they can't unflag it. This is related to !488 (merged) as @jkhsjdhjs noticed and reported.

Reproduction

Flag a package and try to unflag it after as a normal user. Observe the Unflag action is hidden.

Logs

N/A

Version(s)

master HEAD