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

Add a referer to know the context of generated story #54

Open
anthony-robin opened this issue Aug 21, 2023 · 0 comments
Open

Add a referer to know the context of generated story #54

anthony-robin opened this issue Aug 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@anthony-robin
Copy link
Collaborator

anthony-robin commented Aug 21, 2023

When the task run and generate a new story or chapter, we should store the referer that initiate the action for better understanding on how things happen.

Possible ways:

  • an enum field that would store task or admin
  • a dedicated User with task role:
    • Pro: stories belongs to a user_id as a regular model association
    • Cons:
      • We must ensure that we cannot logged in from interface with this user which could make model more complicated
      • More complicated policies with more roles to handle

Might be blocked by #55

@anthony-robin anthony-robin added the enhancement New feature or request label Aug 21, 2023
@anthony-robin anthony-robin moved this to 📋 Backlog in Fabelia backlog Aug 21, 2023
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
Status: 📋 Backlog
Development

No branches or pull requests

1 participant