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

Multiple game owners #130

Open
3 tasks
oestrich opened this issue May 2, 2020 · 0 comments
Open
3 tasks

Multiple game owners #130

oestrich opened this issue May 2, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@oestrich
Copy link
Owner

oestrich commented May 2, 2020

Switch games from belongs_to :user to has_many :admins

Create a new join table that let's multiple users administrate a game. No special roles at the moment, all admins can manage the full aspect of a game.

Maybe we keep the current belongs_to :user and rename to be the "owner" so we can tell who originally made it and maybe who should have slight extra power in the future. Other systems have the concept of owner and admin, and just admin.

Criteria:

  • Create table for the users <-> admin <-> game join
  • Page to manage game admins
  • Update any authentication check to check for being a game admin instead of just the single owner
@oestrich oestrich added the good first issue Good for newcomers label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant