Skip to content

Multiple game owners #130

Description

@oestrich

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions