Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rules : add a rules section and a way to edit them #45

Closed
vincent-peugnet opened this issue Jan 26, 2021 · 1 comment
Closed

Rules : add a rules section and a way to edit them #45

vincent-peugnet opened this issue Jan 26, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@vincent-peugnet
Copy link
Owner

The simplest way could be a markdown file stored in the app files.
But only one admin could edit it.
It could be interesting to add the ability to allow moderators edit the rules.

AND

The most complex but interesting strategy could be to use a git-like rule system, but using a vote system to validate rules or not.
Voters could be mods of course, but also some users as defined by user-classes.

This could as well be done by some external dedicated tools, with a SAML connection #40 🥺 But I doubt on this solution.

Actually vote system for rules are very related to important aspects of this project. This would be a great implementation but maybe not too soon as it need a lot of work to do it well.

@vincent-peugnet vincent-peugnet added the enhancement New feature or request label Jan 26, 2021
@vincent-peugnet
Copy link
Owner Author

As writen in #46, a rule could be an entity in the database. That way it could be cited in warnings. This could be a simple way to do this at first.

A rule classwould be defined by:

  • an ID
  • name
  • text (in markdown ? not so shure.. )
  • createdAt
  • lastEdiAt

The question is: should rules have the ability of being edited ?
Or should they only be "forked". Do we need a historic of this ? It's clearly more complicated.
I like the idea of an ID will be for ever linked to one written rule.

@vincent-peugnet vincent-peugnet added this to the v0 milestone Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant