GatherPack / gatherpack

Get Together with GatherPack
MIT License
1 stars 0 forks source link

Create the TimeClock #105

Open braddoeswebdev opened 3 weeks ago

braddoeswebdev commented 3 weeks ago

People need a way to keep track of their time in a structured way.

A TimeClockPeriod will hold many TimeClockPunches (I'm not in love with the naming there & am open to suggestions) and represent something like a pay period, an FRC build season, or any other structured bucket into which people might want to log & report time.

A TimeClockPeriod will be a scaffold-ish structure with a name, start & end times, a field for determining who can create/update associated TimeClockPunches (only admins, admins + managers, anybody), and optionally belong_to a Team. Only admins & Team managers should be able to create TimeClockPeriods

A TimeClockPunch will have a start & end time, belong to a Person, and optionally belong to a TimeClockPeriod. Anybody should be able to create TimeClockPunches but the ability to associate them with any given TimeClockPeriod should be limited by the field on the TimeClockPeriod. Additionally, only admins & managers should be able to create or update TimeClockPunches for people other than themselves.