Commit Graph

5 Commits

Author SHA1 Message Date
Kalle
6a307ce59e Simplify comments 2026-09-02 21:02:01 +03:00
Kalle
af7ef2fb08 Refactor permissions and make tournament object fully cacheable (#3341) 2026-08-15 09:29:34 +03:00
Kalle
9e0f36d90c Refactor requireRole/requirePermission to resolve user internally
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 20:02:37 +02:00
Kalle
d2551d2706 Global roles refactor (#2212)
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
* Initial

* isMod etc.

* canPerformAdminActions

* isAdmin

* isSupporter

* admin override

* Lohi

* Badge manage with new permissions style

* Refactor badge loading logic

* Move funcs

* Delete permissions.ts

* DRY
2025-04-21 23:51:30 +03:00
Kalle
d28f348629 Rename files
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-04-21 15:01:15 +03:00