Skip to content
  • Eli Schwartz's avatar
    Move permission for LIST_COMMENTS to dev/tu block · 3ac958ac
    Eli Schwartz authored
    In commit 3578e77a we implemented
    listing of comments from the account details page , but this was
    intended to only be available to TUs and Devs. As the comment says:
    "display the comment list if they're a TU/dev"
    
    The credential checking code, however, set this credential for all
    users, contrary to the intention of the commit.
    
    In order to preserve the ability to list a person's own comments, also
    declare the allowed uids based on the profile being viewed.
    3ac958ac