Forem Creators and Builders 🌱

Christina Gorton
Christina Gorton

Posted on

Feature Request: Hide Edit Link to Anyone Without Permission

User would like the edit link to be removed for anyone who is not first given permission to edit the post.

Currently, when you create a post the link to you draft can be shared. Anyone who has access to that link can then edit the post.
edit permissions

I believe this is intentional but can see the point of having specific permissions like you have when sharing a google doc.

Google doc share permissions

Unpublished post shows edit link to non-author logged users #13795

Describe the bug

To Reproduce

  1. Log in
  2. Go to a unpublished post ( for example)
  3. See the banner link "Click to edit" image
  4. (optional) Click the edit link
  5. The server 404s

Expected behavior The banner should not include the edit link for non-author users.

Desktop (please complete the following information):

  • OS, version: Linux Ubuntu 18.04
  • Browser, version: Google Chrome Version 90.0.4430.93 (Official Build) (64-bit)

Additional Context:

The banner works as expected for unlogged users.

<div class="gh-btn-container"><a class="gh-btn" href="">View on GitHub</a></div>
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

lisasy profile image
Lisa Sy

This feature request is more like a request solving a bug than a new feature, so I think you can file this as an issue :) It seems straightforward.

coffeecraftcode profile image
Christina Gorton

Sounds good. Thanks Lisa.