Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

article lock/unlock feature #105

Open
mydearxym opened this issue Dec 30, 2018 · 0 comments
Open

article lock/unlock feature #105

mydearxym opened this issue Dec 30, 2018 · 0 comments

Comments

@mydearxym
Copy link
Member

when a article-like content in follow situations:

  • the problem mentioned in article is solved
  • has published very long time, the content has no value
  • has no point, but not to the delete level
  • etc

we should set a 🔒 flag on the content, and no edit or comments will be made/append

a possible prototype may look like this:

field(:lock, :string)
belongs_to(:lock_operator, User)

and if front-end want the lock history, should check the inner-logger, see: #104

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant