nextjs-rewrite #5

Merged
david merged 56 commits from nextjs-rewrite into main 2026-03-30 02:30:16 +00:00
Showing only changes of commit f2014fa010 - Show all commits
+14 -3
View File
@@ -29,10 +29,21 @@ module EuchreCamp
confirmed && !locked?
end
# Check if user is admin (for navigation purposes)
# This would be enhanced with actual role checking later
# Check user role
def admin?
false # Placeholder - implement role checking later
role == 'club_admin' || role == 'system_admin'
end
def tournament_admin?
role == 'tournament_admin' || admin?
end
def club_admin?
role == 'club_admin' || role == 'system_admin'
end
def player?
role == 'player'
end
end
end